Created
March 5, 2014 00:03
-
-
Save pssguy/9358450 to your computer and use it in GitHub Desktop.
Testing selectizeInput
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n_choices <- 20000 | |
choices <- paste0("choice", 1:n_choices) | |
names(choices) <- paste(choices, "name") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shinyServer(function(input, output, session) { | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shinyUI(pageWithSidebar( | |
headerPanel(title="Select Input Test"), | |
sidebarPanel( | |
selectizeInput("variable", "Variable:", | |
c("Cylinders" = "cyl", | |
"Transmission" = "am", | |
"Gears" = "gear")), | |
selectizeInput("select", "Select:", choices = choices) | |
), | |
mainPanel( | |
) | |
)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment