# NOT RUN {
## Only run examples in interactive R sessions
if (interactive()) {
ui <- fluidPage(
checkboxGroupButtons(inputId = "somevalue",
label = "Make a choice: ",
choices = c("A", "B", "C")),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$somevalue })
}
shinyApp(ui, server)
}
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab