Finds one or several files in multiple directories
Finds one or several files in multiple directories.
## S3 method for class 'default': findFiles(pattern=NULL, paths=NULL, recursive=FALSE, firstOnly=TRUE, allFiles=TRUE, ...)
- A regular expression file name pattern to match.
vectorof paths to be searched.
TRUE, the directory structure is searched breath-first, in lexicographic order.
TRUE, the method returns as soon as a matching file is found, otherwise not.
FALSE, files and directories starting with a period will be skipped, otherwise not.
- Arguments passed to
- Returns a
vectorof the full pathnames of the files found.
paths argument may also contain paths specified as
";") separated paths, e.g.
Windows Shortcut links
Windows Shortcut links (*.lnk) are recognized and can be used
to immitate links to directories elsewhere.
For more details, see