serialize {base} | R Documentation |
A simple interface for serializing to connections.
.saveRDS(object, file = "", ascii = FALSE, version = NULL,
compress = FALSE, refhook = NULL)
.readRDS(file, refhook = NULL)
object |
the name of the R object to serialize. |
file |
a connection or the name of the file where the R object is saved to or read from. |
ascii |
a logical. If |
version |
the workspace format version to use. |
compress |
a logical specifying whether saving to a named file is
to use compression. Ignored when |
refhook |
a hook function for handling reference objects. |
These functions are still experimental. Both names, interfaces and values might change in future versions.