getobj | R Documentation |
Returns an R object stored in an Rdata file
getobj(Rdata)
Rdata |
path to an Rdata file containing a single R object to load |
Loads an R object and stores it under a new name without creating a duplicate copy. If multiple objects are stored in the same file, only the first one will be returned
The R object stored in Rdata
.
Stephanie Gogarten
saveas
x <- 1:10
file <- tempfile()
save(x, file=file)
y <- getobj(file)
unlink(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.