Questions tagged [selectinput]

209 questions
1
vote
1 answer

selectInput update inside renderUI function in shiny app

I have simplified my shiny app as follow: library(shiny) library(shinythemes) library(shinyBS) ui <- fluidPage( theme = shinytheme("flatly"), navbarPage("Demo", tabPanel("Home", column(2, …
Haribo
  • 2,071
  • 17
  • 37
1
vote
1 answer

Dependent SelectInput and dataTableOutput in Shiny

I am building a Shiny app & I am stuck. Below is the description of the issue. Any help is much appreciated. I want to accomplish two things. Have multiple dependent selectInput in my app, which is done! Apart from multiple dependent selectInput, I…
1
vote
1 answer

selectInput in Shiny: comma separated output values

When making multiple selections in Shiny selectInput, the values are outputted without comma separation. This causes problems when the outputted values are consist of values with multiple words. Is there a way to change the value "output" of Shiny's…
Phil.He
  • 144
  • 9
1
vote
1 answer

Using SelectInput to reference the correct dataframe for use

Hi I'm relatively new to Shiny and am not sure how to do this. I am making a dashboard that should first pull the relevant dataframe based on user selectInput, after which further selectInput functions will further filter down the sheet for the…
NewCoder01
  • 11
  • 1
1
vote
1 answer

selectInput not working in shinyapps.io but works locally

My app works totally fine locally. When I deploy to shinyapps.io the selectInput doesn't show up. I have checked the logs. There is no error. The "h" is printed so the app is definitely reading it. However, nothing is displayed. The app works after…
X L
  • 27
  • 5
1
vote
1 answer

selectizeInput removing "an" characters from strings in dropdown options

I am building a shiny app where users have to select cities to show on a map. There are lots of cities in my database, so I am using selectizeInput widgets, with the idea that users can type cities in the text box to select. However, something weird…
Jake L
  • 987
  • 9
  • 21
1
vote
1 answer

Why the selectInput() does not work correctly when multipe = TRUE?

I want to get the items that were selected from selectInput(). However, it seems only the first item could be transferred to server(). The UI: sidebarLayout( sidebarPanel(width = 4, selectInput("cell_marker_density_surv",…
tuanzi
  • 27
  • 5
1
vote
1 answer

MathJax output dependent on reactive SelectInput choices

I am having trouble getting Rshiny to do what I want. I would like the user to select an input from the SelectInput choices and based on that input I would like some Text output that is mathematical notation. I have tried to implement this with…
Fay Frost
  • 11
  • 1
1
vote
1 answer

Shiny selectInput named choices the result of the variable

I couldn't find a solution anywhere, I have this selector with named variables: library(shiny) library(shinythemes) #ui.r ui <- fluidPage( uiOutput('input') ) #server.r server = function(input, output) { output$input <- renderUI({ …
CodingBiology
  • 262
  • 4
  • 13
1
vote
1 answer

Shiny update choices of selectizeInput based on radio buttons

I am trying to update the choices in a selectizeInput() based on whether the user clicks "Common name" or "Scientific name" buttons. The default is "Common name". I am aware of conditionalPanel() from this answer, but my choices will link to an…
Tom__Jenkins
  • 129
  • 6
1
vote
1 answer

How to stop dropdownButton closing with every selectInput selection

I am working on a shiny app that has multiple selectInput under a dropDownButton menu. Problem is that when users select one selectInput the dropdownButton closes. For selecting all the selectInput users need to click on the dropdownButton multiple…
Tanzir
  • 11
  • 1
1
vote
1 answer

R shiny 3 selectInput with "All" option while adding reactivity

I am very struggling with getting my head around the concept of reactivity in R Shiny. I replicated the app with a synthetic data as below. As you can see, I sort of endedup with working 3 selectInputs with "All" option... Not sure if this is the…
Yunique
  • 13
  • 3
1
vote
1 answer

How to remove "" from shiny selectInput?

I want to directly use some selectInput in a boolean way. Is there a possibility to do so? Have a look at my minimal example: ui <- fluidPage( selectInput("in", "some input", choices = c("0"=F, "1"=T)) ) server <- function(input, output, session)…
micsky
  • 113
  • 12
1
vote
1 answer

Multiple variables to facet_wrap from selectInput: R Shiny

I am seeking some help for my Shiny App with facet_wrap(). I have some data & I want the app to dynamically facet_wrap with one or more variables selected from a single selectInput. App does it with only one variable but not with multiple. When I…
1
vote
1 answer

How can I show different plots depending on the user's input in Shiny?

I have this data frame: > df genes enst x y 1 Gene1 ENST1 25 14 2 Gene1 ENST2 60 25 3 Gene1 ENST3 12 5 4 Gene2 ENST1 9 34 5 Gene2 ENST2 14 12 6 Gene3 ENST1 10 1 I am trying to create a Shiny App which allows me to select genes and…
emr2
  • 1,436
  • 7
  • 23