fromFiles.GenericDataFileSet {R.filesets} | R Documentation |
Defines an GenericDataFileSet object by searching for files.
GenericDataFileSet$fromFiles(path=NULL, pattern=NULL, recursive=FALSE, fileClass=getFileClass(static), ..., .validate=FALSE, verbose=FALSE)
path |
The path where to search for files. |
pattern |
The filename pattern for match files.
If NULL , filename extensions corresponding to known subclasses
of the abstract GenericDataFile class are search for. |
recursive |
If TRUE , subdirectories are search recursively,
otherwise not. |
... |
Optional arguments passed to the constructor of the static (calling) class. |
Returns an GenericDataFileSet
object.
Note that files with names starting with a period .
are not
searched for. Such files are considered "private" and have to be
included explicitly, if wanted.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see GenericDataFileSet
.