cache <- new.env()
cache_get <- function(x) {
possibly(get, NULL)(x, envir = cache)
}
cache_set <- function(x, value) {
assign(x, value, envir = cache)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.