shinyServer(function(input, output, session) {
output$outputText <- renderText({
(paste("a: ", paste(as.character(input$selectable1), collapse = ", "),
"\n\nb: ", paste(as.character(input$selectable2), collapse = ", ")))
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.