Nothing
library(shiny)
library(shinyjs)
source("helpers.R")
shinyServer(function(input, output, session) {
# when an example is clicked, copy that expression to the input box
lapply(names(examples), function(ex) {
ex <- examples[ex]
onclick(sprintf("example-%s", names(ex)),
updateTextInput(session, "runcode_expr", value = as.character(ex)))
})
runcodeServer()
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.