load.Object {R.oo} | R Documentation |
Static method to load an Object from a file or a connection, which previously have been saved using save()
of
class Object.
Object$load(file, path=NULL, ...)
file |
Filename or connection from where to read the Object. |
path |
The path where the file exists. |
... |
Not used. |
Please note that no constructors are called when an Object is loaded and neither is any static class code called.
Due to a bug, likely in R itself, one can not specify the file
argument by its name, i.e. Object$load(file="foo.RData")
will
not work, but Object$load("foo.RData")
work just fine.
Returns a reference to the loaded Object.
Henrik Bengtsson http://www.braju.com/R/
*save()
and
save
(), load
().
For more information see Object
.
## Not run: For a complete example see help(Object).