Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

byPath.GenericDataFileSet

Defines a GenericDataFileSet by searching for files in a directory


Description

Defines a GenericDataFileSet by searching for files in a directory.

Usage

## Static method (use this):
## GenericDataFileSet$byPath(path=NULL, pattern=NULL, private=FALSE, recursive=FALSE,
##   depth=0L, fileClass=getFileClass(static), ..., .validate=FALSE, verbose=FALSE)

## Don't use the below:
## S3 method for class 'GenericDataFileSet'
byPath(static, path=NULL, pattern=NULL, private=FALSE, recursive=FALSE, depth=0L,
  fileClass=getFileClass(static), ..., .validate=FALSE, verbose=FALSE)

Arguments

path

The directory 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.

private

If FALSE, files starting with a period are excluded, otherwise not.

recursive

If TRUE, subdirectories are search recursively, otherwise not.

...

Optional arguments passed to the constructor of the static (calling) class.

Value

Returns an GenericDataFileSet object.

Reserved filenames

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.

Author(s)

Henrik Bengtsson

See Also

For more information see GenericDataFileSet.


R.filesets

Easy Handling of and Access to Files Organized in Structured Directories

v2.14.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.