Saves an object to a file or a connection
Saves an object to a file or a connection.
## Default S3 method: saveObject(object, file=NULL, path=NULL, format=c("auto", "xdr", "rds"), compress=TRUE, ..., safe=TRUE)
object |
The object to be saved. |
file |
A filename or |
path |
Optional path, if |
format |
File format. |
compress |
If |
... |
Other arguments accepted by |
safe |
If |
Returns (invisibly) the pathname or the connection
.
Henrik Bengtsson
loadObject
() to load an object from file.
digest
for how hash codes are calculated from an object.
See also saveRDS
().
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.