save_cache | R Documentation |
Save R Objects in Cache
save_cache(dir = NULL, overwrite = TRUE, obj, na = NULL)
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 |
obj , na |
A single R object ('obj') to be cached into the file named 'na'. |
The directory path of the cache.
Jianhai Zhang jzhan067@ucr.edu
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.