Load an R object of given name from a .RData file
Usage
loadObject(file, objectname = NULL, dbg = TRUE)
Arguments
- file
path to .RData file
- objectname
name of object to be loaded
- dbg
if TRUE
a message about which object is loaded from which
file is shown
Value
R object as specified in objectname. If an object of that name does
not exist in the .RData file an error is thrown