LoadObjects {represtools}R Documentation

LoadObjects

Description

This function will load a set of objects stored in .rda files. By default, objects are loaded into the Global environment.

Usage

LoadObjects(params, env = .GlobalEnv, loadFiles)

Arguments

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.

Details

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.

Value

Character vector containing the names of loaded objects.

Examples

## Not run: 
loadedObjects <- LoadObjects(params)

## End(Not run)


[Package represtools version 0.1.3 Index]