Questions tagged [selectinput]
209 questions
0
votes
0 answers
R Shiny: Using DT package to edit a table in a drop-down list and update the table and output to a CSV file
I try to create a drop-down list in the table, given a default value, and all possible options in the list, I would like to update the value in this way and update the data, and output a updated csv file.
This is my reproducible…

Huan Lu
- 15
- 5
0
votes
1 answer
Link selectInput with sliderInput in shiny
Friends, I would like my selectInput to be linked to the number of clusters that appear in my output table.
In other words, it appears divided into 5 clusters. In selectInput I would like it to show as follows:
Select the cluster
1
2
3
4
5
That is,…
user13047398
0
votes
1 answer
Uncaught Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`
I am trying to use rimble-ui Select input but getting error
Uncaught Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.
source :…

Jay
- 2,826
- 2
- 13
- 28
0
votes
1 answer
selectizeinput reading column-name instead of value
can somebody explain this behavior to me?
In R, if list l[[i]] contains only one element, selectizeinput shows only the column-name instead of the element. It doesn't include the column name if there are more elements.
In the console the behavior…
0
votes
3 answers
The SelectInput "Selected" for R/Shiny is not working
I'm in the midst of building a Shiny application that shows COVID-19 statistics. Right now, I'm trying to set the default selectInput; selected == "World", with data$location, but for some reason it's setting itself to the first location in the data…

Elijah Silva
- 1
- 1
0
votes
0 answers
Switch statement doesn't get recognize as variable in r shiny
I have a selectInput to select different dataframes using a switch statement.
My "players" dataset looks like this:
Player Pos Age Team G GS MPG FG FGA FG% 3P 3PA 3P% 2P 2PA 2P% eFG% FT FTA FT% ORB DRB TRB AST STL BLK
1 Álex…

yukikongju
- 11
- 4
0
votes
1 answer
R-Shiny: Select input reactive on file input
I am very new to Shiny and am not sure if I am doing this remotely correct/completely oversimplified. I am trying to pull the column headers from an excel fileInput into a selectInput drop down box.
So essentially I would like the options for the…

firebelf
- 5
- 3
0
votes
1 answer
addlegend R Leaflet-based-on-user-input
I am using Shiny's varSelectInput function to display a map with R Leaflet from spatialpolygondataframe, so that by selecting a variable of the object the map of the corresponding variable is drawn and I changed its color. For this I have generated…
0
votes
1 answer
selectInput variable to influence chart output - group argument? Preferably using highcharter output [Shiny app]
I am new to shiny and R in general and am stuck on how to make my app more interactive. I have other parts of the functionality working however the interactivity that i was after just isn't getting there and have hit a brick wall.
I have a dataset…

lachlindco
- 35
- 6
0
votes
1 answer
R Shiny selectInput reactivity with multiple variable output
I'm seeking assistance with my shiny dashboard issue.
Essentially, I have a single selectInput menu, however want to be able to select multiple variables and have them all plotted on the same graph.
At the moment I can get it to plot a single…

j.sch
- 3
- 2
0
votes
1 answer
How to multiply a sliderinput with a selectinput where result is shown as a text output
New to using shinyapp and new to asking for help.
Here is a sample of the df called Data1:
+--------+-------+-----+-------+--------+-------------+
| Manu | Model | Des | Trans | Fuel | costpermile…

dl1301
- 3
- 1
0
votes
1 answer
Use selectInput to select vectors
I've been trying to use selectInput on shiny to select the values of a vector that I want to plot.
In this example, I'd like to use selectInput to choose between the vectors that I want to subset. If i select Grey, the df should select only the…

Araê Souza
- 79
- 8
0
votes
1 answer
updateSelectizeInput not working, causing the server behave strange
I am trying to use a basin, and then update the possible choices of sub-basins within that basin.
However, my code is not working. I cannot make it work neither with observe, nor with reactive, nor with observeEvent nor without all of them.
My ui…

OverFlow Police
- 861
- 6
- 23
0
votes
1 answer
How to right align label of actionLink which on label of selectInput
[Previous question]How to include an action link into a button's label?
How I can align "get help" on the right of sidbarPanel?
library(shiny)
ui <- fluidPage(
br(),
selectInput(
inputId = "some_id",
label = HTML("Please choose A or…

Jacky
- 13
- 2
0
votes
0 answers
r Shiny selectinput: Prevent selectInput widget from automatically pushing the selected element of the list to the very bottom of the window
in my r Shiny app I have a simple select selectinput widget:
selectInput("select_a_name",
selectize = FALSE,
label = "Select Name",
choices = names_active_reactive$names,
multiple = FALSE,
selected = selected_name,
size = 25)
The user…

user3245256
- 1,842
- 4
- 24
- 51