fn interp_read_rds(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Read a single R object from an RDS file.
Supports both GNU R binary RDS files (XDR format, optionally gzip-compressed) and miniR’s own text-based miniRDS format. Binary format is detected automatically by checking the first bytes of the file.
@param file character scalar: path to the .rds file @return the deserialized R value