Questions tagged [shiny-reactivity]
A key aspect of Shiny apps is reactivity - the illusion that the application is interactive.
shiny-reactivity
994
questions
1
vote
1
answer
25
views
How to update fillColor to selected input in shiny and leaflet map
I am having a difficult time transitioning my map from static to reactive so a user can select what data they want to look at. I am pretty new to R so please bare with me but I think I figured out how ...
3
votes
0
answers
28
views
Rendering task update messages as they are completed in Shiny App
Within an observer button event, I'm trying to render an update message to the Shiny UI upon completion. In the code below, each task is timestamped correctly however they aren't rendered to the UI ...
0
votes
1
answer
43
views
Using a Shiny Module Inside Another Shiny Module: Output Not Displaying
I'm working on a Shiny application in R where I need to nest one Shiny module inside another. However, I'm encountering an issue where the output from the nested module does not display (either as a ...
1
vote
1
answer
20
views
How do I close an f7Popup in R Shiny with a button click?
I have a popup window that opens as the app first runs. I don't like the small x in the corner of the popup window and want to instead have a larger "Continue" button on the bottom of the ...
0
votes
1
answer
44
views
Reactivity of data.table and dateRangeInput()
I have a functional shinyApp where one data.table summarizes data from two other data.tables based on dates given in dateRangeInput(). Default format for dateRangeInput() is "yyyy-mm-dd". I ...
0
votes
0
answers
44
views
How can I optimize the reactivity in my R Shiny App?
I am putting together a shiny app that is six pages of differing inputs and ways of plotting the same data. The first page works ok, but has less reactivity. After putting together the second page, it ...
1
vote
1
answer
33
views
Way to make input_text_area appear reactively when option is selected from input_radio_buttons in Python Shiny
I'm developing a web app in Shiny express for Python. I've implemented a group of radio buttons so that users can try out some pre-defined input for the app. One of the buttons is labelled "I ...
0
votes
1
answer
38
views
How to give precedence to one observer over other observers in R Shiny code?
In the R Shiny code below there are two user input tables: parentTbl and childTbl. Both are generated using rhandsontable. The user can input two "Y" values into the parentTbl input table ...
0
votes
1
answer
23
views
Shiny Module Input Not Recognized in Render Function
I am working on a Shiny application with a modular structure. The application involves a main UI that includes a module UI and a tab for testing inputs. The server logic initializes and renders the ...
0
votes
1
answer
37
views
Shiny App server code not receiving input variables
I'm trying to create a UI with two dropdown fields referencing data frames in the global environment--mon and apps. I'm using selectizeInput to do this. I click an actionButton (ID="do") to ...
0
votes
1
answer
46
views
How can I delete data with shiny input_action_button?
I have recently started working with Shiny Python and got stuck at some point.
from pathlib import Path
from shiny import reactive
from shiny.express import input, render, ui
ui.page_opts(title=&...
1
vote
1
answer
59
views
remove_shiny_inputs not working for nested module
Background: I have an R shiny app where I use nested and dynamic modules. There are 3 nested levels:
App level module: where a data frame is created (not dynamic)
Tab level module: holds one feature ...
0
votes
1
answer
105
views
Creating a reactive table in shiny using gt as opposed to DT
I like the customisations that the package gt allows you to implement in a table. However, even though I am able to create a static table that fits my needs, when it comes to making that table dynamic,...
0
votes
0
answers
28
views
Trouble with R Shiny app, leaflet map using tidygeocoder timing out
I am making a shiny app where you can enter any address and it should find the nearest airport to that address and also the nearest office (of four) to suggest a best path. I have a sf file for the ...
0
votes
1
answer
34
views
Download Button With Markdown Word format
I have created an R Shiny application to automatically generate a Word report using RMarkdown. It works fine on my local session but not when published on the web. I encounter an error that ...