#'@title Post a message to a channel
#'@export
redisPublish <- function( channel, message, Rc = NULL) {
if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
cmd <- "PUBLISH"
redisCommand(Rc, cmd, list(channel, message))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.