LoadObjects.RdThis function will load a set of objects stored in .rda files. By default, objects are loaded into the Global environment.
LoadObjects(params, env = .GlobalEnv, loadFiles)
| params | A list of parameters. Should include the named items inputDir and inputFiles. |
|---|---|
| env | An environment in which to load objects. Defaults to the global environment. |
| loadFiles | A character vector of files containing saved data. |
Character vector containing the names of loaded objects.
The params object is defined within an RMarkdown file and contains named items "inputDir" and "inputFiles". As an expedient, one may pass a vector of filenames. This vector will only be used if the params argument has been omitted.
if (FALSE) { loadedObjects <- LoadObjects(params) }