| findFiles {affxparser} | R Documentation |
Finds one or several files in multiple directories.
findFiles(pattern=NULL, paths=NULL, firstOnly=TRUE, ...)
pattern |
A regular expression file name pattern to match. |
paths |
A character vector of paths to be searched. |
firstOnly |
If TRUE, the method returns as soon as a matching
file is found, otherwise not. |
... |
Arguments passed to list.files(). |
Returns a vector of the full pathnames of the files found.
The paths argument may also contain paths specified as
semi-colon (";") separated paths, e.g.
"/usr/;usr/bin/;.;".
If package R.utils is available, Windows Shortcut links (*.lnk)
are recognized and can be used to immitate links to directories
elsewhere. For more details, see filePath.
Henrik Bengtsson (http://www.braju.com/R/)