findFiles | R Documentation |
Finds one or several files in multiple directories.
findFiles(pattern=NULL, paths=NULL, recursive=FALSE, firstOnly=TRUE, allFiles=TRUE, ...)
pattern |
A regular expression file name pattern to match. |
paths |
A |
recursive |
If |
firstOnly |
If |
allFiles |
If |
... |
Arguments passed to |
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 and loaded , Windows Shortcut links (*.lnk)
are recognized and can be used to imitate links to directories
elsewhere. For more details, see filePath
.
Henrik Bengtsson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.