Questions tagged [selectinput]
209 questions
1
vote
0 answers
How to observer target input from selectinput in shiny to train model
I am trying to a build a reactive shiny app where I am letting the end user upload a csv file and train my model on the uploaded file. The uploaded file could contain multiple target variables and I was hoping I could give selectinput option to the…

Analytics_TM
- 493
- 6
- 28
1
vote
1 answer
R shinydashboard display sum of selected input in a valuebox
My question relates to "value4" which is a valuebox in the below code.
I have created a select input which allows the user to choose a name, based on that name I want the app to find the number of projects that are associated to the name picked…

sqlworrier
- 53
- 5
1
vote
1 answer
Selectinput using Ggplot in shiny dashboard not working
Hi I am using Ggplot for my shiny dashboard. I want to plot Quarter Vs Freq and Quarter Vs FreqbyPercent when selecting "A"
and Quarter Vs TRinM and Quarter Vs TRinM
and i am using Ggplot as a function . But when i am selecting "A" there no plot…

JK1185
- 109
- 1
- 8
1
vote
1 answer
How to keep values after changing chained selectInputs in shiny in R?
I have a complicated shiny app (here is a simpler example) which looks like that:
The app gives user the possibility to change four parameters (selectInput). The lower parameter depends on the highter one (ex. month on year, type on year and month…

Marta
- 3,032
- 3
- 17
- 34
1
vote
1 answer
Problem passing variable names via selectInput() in R/Shiny
I'm building a shinyapp where I am passing variable names as arguments to the server with the selectInput() widget. The following static example illustrates the plot that I want displayed:
g <- ggplot(d, aes(y, fill = var1, colour = var1)) +
…

pengzell
- 33
- 4
1
vote
2 answers
Shiny: assign var names dynamically based on selectInput selection
I am triyng to use a selectInput to subset a data.table to the selected column, preserving its name. So far I have done:
library(data.table)
mtcars <- data.table(mtcars)
ui <- bootstrapPage(
uiOutput('variables'),
tableOutput('table')
)
server…

COLO
- 1,024
- 16
- 28
0
votes
1 answer
Removing an item from an UpdateSelectInput
Is it possible to remove one item from $race_ethnicity array below. The choices argument returns Asian, African-American, American Indian, Filipino, Hispanic, Pacific Islander, White, and Not Reported.
Is there a way of removing Not Reported from…

Shannon
- 125
- 7
0
votes
1 answer
Using selectInput as the order of x-axis and other parameters in ggplot2
Trying to find an easy solution to change the order of x-axis and other parameters in ggplot2 using the user input in a Shiny app.
This is the code for the…

JMarchante
- 123
- 1
- 4
- 11
0
votes
1 answer
How do I render choices for selectInput in DTEdit?
I am working on an RShiny app using the DTedit package to create an editable data table. The goal is to allow users to map columns from two different data frames. However, when using selectInput in the DTedit table, the select inputs are displaying…

big_cactus
- 69
- 1
- 6
0
votes
0 answers
SelectInput choices to retain previous values
I've made a Shiny app where you can edit the rows of the members table by clicking on the edit button. However, if there's any relational tables (such as program001) that was connected to the members table (and the Programs column of the members…

Sunny League
- 139
- 1
- 8
0
votes
0 answers
How can I create a selectable drop down list in the sidebar without a file/csv?
I am new to r-programming and recently completed the Google Analytics Course through my job. To complete the final part of the course (CAPSTONE) project, my company have decided to give us small projects that can showcase what we have learned. I was…
0
votes
2 answers
add hover-over text for label of virtualSelectInput in r shiny app
I'm trying to add a hover-over text to my shiny app. Specifically, I want to add it to the label of the virtualSelectInput (which is the label above the drop-down selection).
I have found posts on how to add hover-over text to the CHOICES in the…

Em Reit
- 1
- 1
0
votes
1 answer
R Shiny multiple selectInputs - prevent reactivity from occurring due to updateSelectInput
Sorry in advance for the odd title, but here is what I'm trying to accomplish.
I have two selectInput boxes, one for each type of selection (in this contrived example in the code that follows the selections are different types of charts to display).…

Mikey
- 43
- 3
0
votes
1 answer
R shiny selectInput - preselect list begins only with the letters written in inputfield
Hei,
I have a very long list of headers (>1000 items). I want to chose one of them with a selectInput in a R shiny app. Before chosing one Item, I want to type letters in the selectInput to shorten the list of headers. This is the usual behaviuor of…

Volker Holzendorf
- 237
- 2
- 10
0
votes
2 answers
Shiny app: exercise of ensuring input selection if tabs are changed
In the shiny App below, I need to make variables X and Y be reactive across the scatter and density plots. That means that if the user changes the variable X and/or Y in a certain plot tab, so such variable(s) has/have to remain selected when the…

Hassan Camil David
- 31
- 3