readRDS {base} | R Documentation |
Internal functions for serialization. See serialize
for
public (but experimental) versions.
.saveRDS(object, file = "", ascii = FALSE, version = NULL,
compress = TRUE, refhook = NULL)
.readRDS(file, refhook = NULL)
object |
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. |
For .readRDS
, an R object.
For .saveRDS
, NULL
invisibly.