Save an R object to disk with fast and efficient compression algorithms.
Source:R/save_load_helper.R
save_object.Rd
Save an R object to disk with fast and efficient compression algorithms.
Arguments
- object
Object to be saved to disk.
- file_name
Name of the file where the R object is saved to.
- file_format
One of "zstd", "lz4", "gzip", "bzip2","xz", "nocomp".
zstd
is the best option, fast compression and loading times, low space usage. Formats "zstd" and "lz4" are only available if packagearchive
is installed.