save_cache {spatialHeatmap} | R Documentation |
Save R Objects in Cache
save_cache(dir = NULL, overwrite = TRUE, ...)
dir |
The directory path to save the cached data. Default is NULL and the cached data is stored in |
overwrite |
Logical, TRUE or FALSE. Default is TRUE and data in the cache with the same name of the object in |
... |
A single R object to be cached. |
The directory path of the cache.
Jianhai Zhang jzhan067@ucr.edu; zhang.jianhai@hotmail.com
Dr. Thomas Girke thomas.girke@ucr.edu
Lori Shepherd and Martin Morgan (2020). BiocFileCache: Manage Files Across Sessions. R package version 1.12.1.
# Save the object "iris" in the default cache "~/.cache/shm". cache.pa <- save_cache(dir=NULL, overwrite=TRUE, iris)