Saves an Object to a file or a connection.
# S3 method for Object
save(this, file=NULL, path=NULL, compress=TRUE, ..., safe=TRUE)
Returns nothing.
Filename or connection
to which the Object should be saved.
If NULL
, the Object will be save to a file named
"{class name}.{memory location}.RData", e.g. "Object.26979608.RData".
The path where the file should be saved.
If TRUE
, the file is compressed to, otherwise not.
Other arguments accepted by save()
in the base package.
If TRUE
and file
is a file, then, in order to lower
the risk for incomplete files, the object is first written to a
temporary file, which is then renamed to the final name.
Henrik Bengtsson