View source: R/getObj_saveObj.R
getObj | R Documentation |
Function to get a saved object from an RData file.
getObj(fn, obj_name = NULL)
fn |
|
obj_name |
|
The RData file may contain multiple R objects, but the function will return
only a single object. The RData file is "loaded" into a new environment. If obj_name
is
not NULL, then the object with that name is returned. Otherwise, a vector of
object names is obtained using ls() and the object corresponding to the first name
in the list is returned.
an R object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.