dfetch | R Documentation |
Get and load a dataset in a package. Use dsearch('query') to find packages with datasets, and dinfo('package') to get the package info and its datasets.
dfetch(pkg, ds)
pkg |
The package name |
ds |
The dataset name |
A vector of all the loaded dataset objects. Console output will list all found tables in the dataset (usually just the one). Note: some datasets will have package dependencies when loaded, please take heed of any such messages when viewing the loaded dataset object.
dfetch('TSrepr', 'elec_load.rda')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.