dot-firstFile.Rd
.firstFile
examines the filesystem and selects the first file
from the given sequence that exists on it.
.firstFile(files, modify = identity)
files | The sequence file names or paths to consider. |
---|---|
modify | How to modify each file before checking existence. |
(Absolute) path to the first file that exists.
NULL
if there isn't one.