Description Usage Arguments Details Value Examples
This function will load all of the data sets described in the specified .file file into the global environment. A .file file must contain DCF that specifies the path to the data set and which extension should be used from the dispatch table to load the data set.
1 | file.reader(data.file, filename, variable.name)
|
data.file |
The name of the data file to be read. |
filename |
The path to the data set to be loaded. |
variable.name |
The name to be assigned to in the global environment. |
Examples of the DCF format and settings used in a .file file are shown below:
path: http://www.johnmyleswhite.com/ProjectTemplate2sample_data.csv extension: csv
No value is returned; this function is called for its side effects.
1 2 3 | library('ProjectTemplate2')
## Not run: file.reader('example.file', 'data/example.file', 'example')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.