Method to load object from a file or a connection, which previously have been saved using saveObject
().
# S3 method for default
loadObject(file, path=NULL, format=c("auto", "xdr", "rds"), ...)
Returns the saved object.
A filename or connection
to read the object from.
The path where the file exists.
File format.
Not used.
Henrik Bengtsson
The main difference from this method and load
() in the
base package, is that this one returns the object read rather
than storing it in the global environment by its default name.
This makes it possible to load objects back using any variable name.