below is the sample UI. I wanted to check if there is way to list the values of input values. For example
library(shiny) # Define UI for application that draws a histogram shinyUI(fluidPage( # Application title titlePanel("Old Faithful Geyser Data"), # Sidebar with a slider input for number of bins sidebarLayout( sidebarPanel( selectInput("n", factors(iris$Species)), actionButton("add", "Add") ), # Show a plot of the generated distribution mainPanel( verbatimTextOutput("sum", placeholder = TRUE) ) )))
Since we have
iris$Species as one of the inputs. Is there a way to list them in R console?
input$a setosa, versicolor and virginica