save_to_cache: Helper function for saving a file to a cache directory.

Description Usage Arguments

View source: R/s3cache.R

Description

Helper function for saving a file to a cache directory.

Usage

1
save_to_cache(key, value, cache_dir = cache_directory())

Arguments

key

character. The key under which the cache entry is stored.

value

ANY. The R object to save in the cache.

cache_dir

character. The cache directory. The default is cache_directory().


robertzk/s3mpi documentation built on May 27, 2019, 11:37 a.m.