Description Usage Arguments Value Examples
This function parses a file name and matches the name to the given pattern. Then it extracts the values for the requested files.
1 | parse.fname(fname, pattern, fields)
|
fname |
file name. |
pattern |
Regular expression used to extract the fields values. |
fields |
Fields that uniquely identify the data from a file. |
A list containing the field names and their values.
1 2 3 4 5 6 | ## Not run:
parse.fname('results-1-simple.csv',
'results-(\\d+)-(\\w+)\\.csv',
c('ID', 'config'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.