fn builtin_save_rds(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Serialize a single R object to an RDS file in GNU R-compatible format.
By default the output is gzip-compressed XDR binary (matching GNU R behavior).
Pass compress = FALSE to write uncompressed XDR binary.
Pass ascii = TRUE to write ASCII text format (format ‘A’), which is
human-readable and compatible with GNU R’s readRDS().
@param object any R value to serialize @param file character scalar: path to write the .rds file @param ascii logical: if TRUE, write ASCII text format (default FALSE) @param compress logical: whether to gzip-compress binary output (default TRUE) @return NULL (invisibly)