Learn R Programming

rcrisp (version 0.3.1)

write_data_to_cache: Write data to the cache directory

Description

Write object in a serialised form (RDS) to a cache directory. For the directory used for caching see cache_directory().

Usage

write_data_to_cache(x, filepath, wrap = FALSE, quiet = FALSE)

Value

NULL invisibly

Arguments

x

Object to serialize to a file

filepath

Path where to serialize x, as a character string

wrap

Whether the object should be "packed" before serialization (as required by terra::SpatRaster objects)

quiet

Omit message on cache file being written