saveRDS: Read/write RDS streams

Description Usage Arguments

Description

Drop-in replacements for saveRDS and readRDS from base allowing use of external multi-threaded programs for faster compression/decompression. The functions also allow use of additional parameters, which are directly passed to cmpFile.

Usage

1
2
3
4
5
6
7
8
9
saveRDS(
  object,
  file = "",
  ascii = FALSE,
  version = NULL,
  compress = TRUE,
  refhook = NULL,
  ...
)

Arguments

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 TRUE or NA, an ASCII representation is written; otherwise (default), a binary one is used. See the comments in the help for save. d


retrography/pRDS documentation built on June 4, 2020, 5:06 p.m.