Locates all file sets that match the requested name, tags, and sub directories, in any of the root paths.
## Static method (use this):
## GenericDataFileSet$findByName(name, tags=NULL, subdirs=NULL, paths=NULL,
## firstOnly=TRUE, mustExist=FALSE, ..., verbose=FALSE)## Don't use the below:
# S3 method for GenericDataFileSet
findByName(static, name, tags=NULL, subdirs=NULL, paths=NULL, firstOnly=TRUE,
mustExist=FALSE, ..., verbose=FALSE)
Returns a character
vector
of paths.
If no file sets were found, NULL
is returned.
The name and the tags of the file set to be located.
A character
vector
of the subpath where the file
set is located.
A character
vector
of root paths where to look for
the file set.
If TRUE
, only the first path found, if any, is returned,
otherwise all found paths are returned.
If TRUE
, an exception is thrown if the file set was
not found, otherwise not.
Not used.
...
Henrik Bengtsson
For more information see GenericDataFileSet
.