View source: R/miscellaneous.R
simpleCache | R Documentation |
Simple key-value cache function accepting closures
simpleCache(object, key, path = getOption("custom_data_path"), refresh = FALSE)
object |
closure with return expression to be cached |
key |
cache key |
path |
path where to cache the data |
refresh |
bool option to force refresh of cache, default FALSE |
object, (potentially cached version)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.