Save an R object to disk with fast and efficient compression algorithms.
save_object(object, file_name, file_format = "lz4")NULL invisibly
Object to be saved to disk.
Name of the file where the R object is saved to.
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 package archive is installed.
Format "zstd" is not supported anymore as the library now needs to be precompiled with R.