Questions tagged [selectinput]

209 questions
0
votes
1 answer

Vlookup based on selectizeInput

I'm currently creating a web app using R shiny. I have an existing data frame (imported from excel) and want to create a smaller table to display in the web app. The original data frame (imported) looks like this (but larger): ID date …
KatyLearnR
  • 17
  • 3
0
votes
2 answers

Create graph based on selection of input and output

New to shiny. I am trying to create a plot based on chosen x and y values. Basically, whatever the user selects for the select1 and select2 selectInput function will graph it accordingly. My original data has many columns, not just two. When I try…
Ty Emmert
  • 11
  • 3
0
votes
1 answer

Creating a histogram of a selectInput function in R shiny

I am new to r shiny. I am simply trying to get my program to call on hist(Atchafalaya_data$soil_organic_carbon_density) or hist(Terrebonne_data$soil_organic_carbon_density) when a user selects Atchafalaya or Terrebonne. I keep getting an error that…
Ty Emmert
  • 11
  • 3
0
votes
1 answer

Multiple reactive selectinput based on another in R shiny

I am using the code below to allow multiple selected inputs to react to each other. So, when one is changed, the values in the other fields should be updated. However, I have a problem with that, from what I read here I am supposed to use…
Zizou
  • 503
  • 5
  • 18
0
votes
1 answer

How to display different feedbackWarnings depending on the input in shiny?

I am trying to create an app where I can have different warnings (using feedbackWarning from the package shinyFeedback) depending on the user's input. I saw this post where they were talking about this, but although I added if statements, the…
emr2
  • 1,436
  • 7
  • 23
0
votes
1 answer

How to use SelectInput() to select column names instead of by row values

I am trying to build an RShiny app that displays 2 dropdown menus in the UI, where the first dropdown menu selects the species, and the second dropdown menu selects a data that is available for that species. I looked at this post for a possible way…
Jamie_B
  • 149
  • 6
0
votes
1 answer

How to clear the mainPanel if a selectInput choice has changed?

I am trying to create an app that will show you results depending on a selectInput and the changes are controlled by actionButtons. When you launch the app, you have to select a choice: Data 1 or Data 2. Once you have selected your choice (e.g. Data…
emr2
  • 1,436
  • 7
  • 23
0
votes
0 answers

Specify the position of SelectInput widget under tabItem in Shiny for R

Below is sample of a dataset I'm using to build a shiny app. Everything works, I just need some guidance in laying out some of the pages. df<-df<-structure(list(lon = c(-1.309306062, -1.308591288, -1.308725397, -1.308223849, -1.309100942,…
McMahok
  • 348
  • 2
  • 13
0
votes
1 answer

How to pass SelectInput to startswith function?

am trying to create a shiny app allows user to select column from multiple dataframes and search for values in selected columns. however am getting no data! where am passing 'input$select' as an argument to "startswith" function, what I know…
Ahmed
  • 1
0
votes
1 answer

Shiny priority of related inputs

Consider this app with three inputs and all are related to each other... library(tidyverse) library(shiny) df <- mtcars %>% split(.$vs) ui <- fluidPage( sidebarPanel( radioButtons("no1", "Select", choices = names(df)), …
Roman
  • 17,008
  • 3
  • 36
  • 49
0
votes
2 answers

Pass the choices from selectInput on server side inside group_by function in Shiny app

I would like to pass the user selection to a group_by function in Shiny apps! The following code does not work, since the input$bearkdown is considered as a character! How I could fix that? dat = structure(list(year = c(2000, 2000, 2000, 2000, 2000,…
Haribo
  • 2,071
  • 17
  • 37
0
votes
2 answers

Update data SelectInput in shiny modules

I am facing an issue in updating the data selected using SelectInput and modules in Shiny. In a few words, when I select the data to be loaded into the selectInput panel, it updates it on the first selection, but if I then want to go from dataset 1…
giulia
  • 63
  • 1
  • 6
0
votes
1 answer

shiny::selectInput(): Unable to remove an element/variable based on index

I have a vector with sequence of elements. I'm trying to provide two selectInput for the user to choose elements/variables from the vector, such that the element selected in the first is excluded from second selectInput. I tried to remove the…
0
votes
1 answer

Enable/disable selectInput based on value in another selectInput

In my shiny app, I need to disable selectInput Season and selectInput Mesh if the value selected for selectInput Species is "Kemps". Those same two selectInput objects should be enabled for any other species selection. I found some shinyjs code…
Laura Lee
  • 1
  • 1
0
votes
1 answer

RShiny working with data frame column names from selectInput

I am working with creating an interactive app in RShiny which can display grouped boxplots as well as tables showing the Kruskal-Wallis test results for sample groups which are based on the columns selected by a user when they upload a CSV…
FranBC
  • 57
  • 5