Skip to contents

Save an R object to disk with fast and efficient compression algorithms.

Usage

save_object(object, file_name, file_format = "zstd")

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 package archive is installed.