Questions tagged [shiny-reactivity]

A key aspect of Shiny apps is reactivity - the illusion that the application is interactive.

A key aspect of Shiny apps is reactivity - the illusion that the application is interactive. See http://shiny.rstudio.com/articles/reactivity-overview.html

972 questions
0
votes
1 answer

How to make sliderInput 'lazy' and refresh only whenever required

How can we make sliderInputs in Shiny 'lazy' to refresh? CONTEXT In the following basic reproducible Shiny app, third sliderinput depends on second sliderinput, in the sense that (for example) : there is no 'Semester 2' possible value for…
cho7tom
  • 1,030
  • 2
  • 13
  • 30
0
votes
1 answer

a way to embed dataframes in the values of a table with clickable values in rshiny

I have gathered some data from different sources and now I have a big dataframe that is full of pathway names in the first column and some scores across its columns. Now I want to build an rshiny tool which allows the users to click on some of the…
Fırat Uyulur
  • 149
  • 1
  • 11
0
votes
1 answer

Display options in selectInput based on user's previous selection after table processing in RShiny

I have a shiny application that displays a table based on calculations of sum (line one) and rates of the line one (line two) of the filtered values of a database. In the current situation, the filtering and processing of the table are working…
Alexia
  • 3
  • 3
0
votes
1 answer

Shiny button within nested module not showing up; namespace issue?

I'm trying to scaffold together a basic dashboard using the shinymaterial package (https://ericrayanderson.github.io/shinymaterial/) but having a slight issue where my dropdown menus (usually selectInput in regular shiny apps) don't show up in a…
Ray
  • 3,137
  • 8
  • 32
  • 59
0
votes
0 answers

How can I Save a project from Rshiny application?

I am very new to R shiny codes. I want to make an application which would allow users to save the selections and the project which could be availed for later usage. For example lets say I have uploaded a file and selected an input in ui. The users…
ARIMITRA MAITI
  • 303
  • 3
  • 4
  • 14
0
votes
1 answer

Subsetting spatial polygon dataframe

I want to be able to subset my spatial polygon dataframe with both the data & polygons based on user input then do a color mapping based on the filtered data.Here is an example though it outputs: "Warning: Error in UseMethod: no applicable method…
brian
  • 75
  • 1
  • 8
0
votes
1 answer

How do I download a PowerPoint file in a R Shiny app?

I have a Shiny web app. I want to create a downloadButton that would download a PowerPoint file when clicked. What do I need to put in the downloadHandler function in order to read in the PowerPoint file from some file path and then just download…
0
votes
1 answer

R reactive shiny with an updateSelectInput

I make an updateSelectInput on shiny, it's working. But after I can't use the new input as a variable for an output... The input is always empty. I give you the code for the SelectInput in Ui.R and the update in server.R. I can't give more, because…
Aurélien
  • 103
  • 3
  • 12
0
votes
1 answer

Updating selecInput with more than 1,000 items in Shiny

I want to update a selectInput item on a Shiny app with more than 1,000 items but it obviously don't accept more than 1,000. Is there a method to add more values or load it from server, as user start typing? server parameter also doesn't…
Mehdi Zare
  • 1,221
  • 1
  • 16
  • 32
0
votes
1 answer

If Statement in Shiny based on values in reactive

I am building an authentication part in my app by comparing the code sent in email and the code users submit. I have tried adding if-statement by using either in reactive(),isolate(), renderTable(). I either get the value should be in the reactive…
May Y
  • 179
  • 1
  • 20
0
votes
0 answers

R get value from selectInput updated

I have a selectInpunt updated, and with this last value, I want to get information from a dataframe, but I can't get the value of the last selectInput, I have just the result "character(0)". The dataframe open but I can't get the value corresponding…
Aurélien
  • 103
  • 3
  • 12
0
votes
1 answer

Use the values in an data frame in R for colnames et rownames

I am new to shinyR and I would like to convert the values in a column of an existing data frame into row names and the values in a column into col names . Something like this data: Date Type Count 23 May 2005 A 2 …
rcd92
  • 105
  • 2
  • 9
0
votes
1 answer

Passing multiple selections from selectizeInput to MySQL query

I am trying to pass multiple values of a selectizeInput to a MySQL query. The question is what is the right syntax for this kind of operation in a shiny app ? What I tried and is working with one value library(shiny) library(DBI) …
R noob
  • 495
  • 3
  • 20
0
votes
2 answers

Store selectInput in a string/character object

I want to store the variable in input$var to an object which can be compared to a string on the latter part. For now, I just tried to print it on the screen by storing it to an object value_stored. But it not printing anything*(Error: cannot coerce…
sksahu
  • 81
  • 2
  • 9
0
votes
1 answer

Shiny app with interactive bar chart and textInput

I'm new to Shiny so am having troubles how the ui and the server talk to each other. I want to create a ggplot2 bar chart with a dynamic filter argument, so I can enter a word in a textInput widget and so the bar chart changes. Data: I'm working…
Tdebeus
  • 1,519
  • 5
  • 21
  • 43