save_ds() serializes an mrgsimsds object to an .rds file, moving the
backing parquet files to the same directory as file. Parquet filenames
are stored as bare basenames inside the .rds, so the .rds file and its
parquet files must stay in the same directory to be portable.
Do not restore the file with readRDS(); use read_ds() instead.
read_ds() deserializes a file written by save_ds(), rebuilds the Arrow
Dataset pointer, and transfers full ownership of the backing files to the
returned object.
Arguments
- x
an mrgsimsds object.
- file
for
save_ds(), the path to the output.rdsfile; the directory component determines where backing parquet files are moved. Forread_ds(), the path to an.rdsfile written bysave_ds().- quietly
if
FALSE, a message is printed about the potentially new location of the backing files on move.