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
3
votes
0 answers

Markdown report problem with image and results based in dynamic reactive objects

I'd like to create a markdown report using my report.Rmd file but I have two problems, first, the image is not found using (title:
![smille.jpg](smille.jpg) **Happy Dash**
), despite smile image and report.Rmd is in the same…
Leprechault
  • 1,531
  • 12
  • 28
3
votes
1 answer

Error in make.unique: 'names' must be a character vector when switching tabsetPanel in shiny

In the example below I get following error many times printed when switching back and forth between radio buttons iris and About- Warning: Error in make.unique: 'names' must be a character vector [No stack trace available] I have looked for the…
AOE_player
  • 536
  • 2
  • 11
3
votes
1 answer

How to fix filter options not popping up for esquisserUI in Shiny?

I have some requests for my app. {1} After readjusting the mainPanel, esquisserUI filters are not popping up anymore. Here is the working example which I followed https://dreamrs.github.io/esquisse/articles/shiny-usage.html In addition, I also…
AOE_player
  • 536
  • 2
  • 11
3
votes
1 answer

Can I programmatically control plotly zoom functionality without having to re-plot in an R shiny app?

I am trying to make a shiny app in R using Plotly plots. I am trying to create zoom functionality in the backend of a shiny app, responsive to a click event on a plotly graph (i.e. when a point is clicked, zoom in on that point). However, the only…
Annalise
  • 33
  • 4
3
votes
1 answer

How to hide or display charts in shiny dashboardBody based on radioGroupButton selection

I am trying to create this dashboard with following structure. It basic structure has 3 levels (Menu, sub Menu and radioGroupButton selection) SideBar: Menu1: has 2 sub menus (Sub Menu 1 and Sub Menu2) Menu2 has 2 sub menus (Sub Menu 3 and Sub…
3
votes
1 answer

Shiny: How to change output (visual data to warning message & vice-versa) when input conditions are evaluated via actionButton

I am working on an app that is supposed to take in numerical inputs, and then produce some visualizations and optimization results from said inputs. Problem is that there are conditions that should be met for the inputs, and if the conditions are…
leo.szn
  • 33
  • 3
3
votes
1 answer

Warning: Error in cat: argument 1 (type 'list') cannot be handled by 'cat' [No stack trace available] in R shiny webtool

Im developing shiny webtool for R functions to generate the indices results on the webtool. I have 6 R functions and i created 6 combinations in selectinput widget, where each combination is linked with the one R function each. The 6 R functions are…
3
votes
1 answer

Data not passed through to module inside modularized shiny tabPanel/navbarPage

My reproducible shiny app creates some data which shall be plotted by calling a plot module using lapply. It, therefore, contains the main app, the modularized Page_ui/Page_server, and the Module_ui/Module_server. It works as a stand-alone app when…
Cevior
  • 97
  • 8
3
votes
1 answer

How to reset reactiveValues?

Resetting a single reactive Value is simply done by reactiveVal(NULL). However, how can I completely reset reactiveValues()? The dummy app contains some of my approaches to retain fresh and clean reactive Values yet none of them really do what I…
mnist
  • 6,571
  • 1
  • 18
  • 41
3
votes
1 answer

How to wait for two blocks of code to run in R Shiny

Suppose I have the following blocks of codes in Shiny: library(shiny) rv <- reactiveValues() observe({ # Event A # Code Block A # The code below signals the end of Code Block A rv$event_a <- F rv$event_a <- T }) observe({ # Event B …
johnny
  • 571
  • 4
  • 14
3
votes
1 answer

Detecting a selectInput value change to NULL in R Shiny

In the code below, I cannot detect selectInput's value change to NULL library(shiny) ui <- fluidPage( selectInput( inputId = "var", label = "Select a variable:", choices = c("A", "B", "C"), selected = NULL, multiple = T), …
johnny
  • 571
  • 4
  • 14
3
votes
1 answer

Nested fluidRow layout in Shiny

I wanted to create fluidPage as shown in the image above. Here is my code for ui.R: shinyUI(fluidPage( fluidRow( column(6, selectInput(inputId="StoreName",…
3
votes
2 answers

Setting up a conditional group_by

I have a set of data that looks as such: +----------+------------+-------+-------+ | step1 | step2 | step3 | step4 | +----------+------------+-------+-------+ | Region 1 | District A | 1A | 571 | | Region 1 | District A | 1A | 356…
user9302275
3
votes
1 answer

Make shiny's `dateRangeInput`'s `end` always bigger than `start`

I'm making a shiny app with dateRangeInput. I want to make the date selection in such a way, that the user cannot select smaller date in second date input than first date input. For example from the above image, shiny now let's user select dates…
Naveen Reddy Marthala
  • 2,622
  • 4
  • 35
  • 67
3
votes
3 answers

How to reactively change title of ShinyDashboard box in R?

My code looks like below where user can select location from sidebarpanel and based on user selection data is displayed in mainpanel. Next, I would like to dynamically change the title of the plot based on user selection. For example, If user…
biggboss2019
  • 220
  • 3
  • 8
  • 30
1 2
3
64 65