#'@title Set a key's time to live in seconds
#'@export
redisExpire <- function( key, seconds, Rc = NULL) {
if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
cmd <- "EXPIRE"
redisCommand(Rc, cmd, list(key, seconds))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.