setServer <- function() {
url <- paste( getOption("protocol"),
"://",
getOption("server"),
getOption("path"), sep="")
info <- list(name = getOption("server"), url = url)
info
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.