getTags.GenericDataFile {R.filesets} | R Documentation |
Gets the tags of the file.
## S3 method for class 'GenericDataFile': getTags(this, pattern=NULL, collapse=NULL, ...)
pattern |
An optional regular expression used to filter out tags.
If NULL , all tags are returned. |
collapse |
A character string used to concatenate the tags.
If NULL , the tags are not concatenated. |
... |
Not used. |
The tags of a filename are the comma separated parts of the
filename that follows the the first comma, if any, and that preceeds the
last period (the filename extension).
For instance, the tags of path/to/foo,a.2,b.ext
are
a.2
and b
.
Returns a character
vector
or NULL
.
Henrik Bengtsson (http://www.braju.com/R/)
*getName()
.
For more information see GenericDataFile
.