Learn R Programming

csvwr (version 0.1.7)

find_existing_file: Find the first existing file from a set of candidates

Description

Find the first existing file from a set of candidates

Usage

find_existing_file(filenames)

Value

If one of the filenames passed is found, then the first is returned. If none of the filenames exist, NULL is returned

Arguments

filenames

a vector of candidates