library(shiny)
shinyServer(function(input, output, session) {
output$output <- renderPrint({
input$eval
eval(parse(text = isolate(input$code)))
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.