## S3 method for class 'default':
saveObject(object, file=NULL, path=NULL, format=c("auto", "xdr", "rds"), compress=TRUE,
..., safe=TRUE)
connection
where the object should be saved.
If NULL
, the filename will be the hash code of the object plus ".xdr".file
is a filename.TRUE
, the file is compressed to, otherwise not.save()
in the base package.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.connection
.loadObject
() to load an object from file.
digest
for how hash codes are calculated from an object.
See also saveRDS
().