
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 "lz4", "gzip", "bzip2","xz", "nocomp".
lz4
is the best option, fast compression and loading times, low space usage. Format "lz4" is only available if packagearchive
is installed. Format "zstd" is not supported anymore as the library now needs to be precompiled with R.