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

Update two sets of radiobuttons reactively - shiny

I have read this (How do I make the choices in radioButtons reactive in Shiny?) which shows me how to update radioButtons in a reactive way. However, when I try and update two sets of buttons from the same data, only one set renders.…
Pete900
  • 2,016
  • 1
  • 21
  • 44
-1
votes
2 answers

Why am I unable to plot the graph on RShiny?

I want to create a RShiny plot. When I launch the app, the sidebar is visible but there is no plot. What's causing the error? Here's my code: library(shiny) ui <- fluidPage( sidebarLayout( sidebarPanel( selectInput('xcol', 'X Variable',…
meloi
  • 1
  • 2
-1
votes
1 answer

R Shiny - How to position an image from top

I've used the below script but getting the image not aligned properly as it is not in the same line as the header. How to move the logo from top to the desired location? tags$img(src="R.png", height = 50, length = 50, align = "left"),
Anitha
  • 53
  • 7
-1
votes
1 answer

String type Global Variables in RShiny

Can anyone please tell me how can we define a global variable with string data type in RShiny app. I tried below syntax but it's throwing error: i <- "Alpha" lvl <- reactiveVal() lvl(i)
-1
votes
1 answer

Mimicking VBA Input ListControl in R Shiny

Is it possible to generate VBA List Control input (as shown in the screenshot) in an R Shiny dashboard? VBA List Input Example Screen Shot
-1
votes
1 answer

Issues with Shiny App not updating after changing inputs

I have a dataset that has job postings in it. For some reason, my app doesn't update the table after the first update. For example if I choose Business Intelligence Analyst and CA as inputs, I get a table with said jobs. Yet, a change in inputs…
-1
votes
1 answer

Shiny code design - where should I put the complex logic?

To all R Shiny experts: Which of the following three server functions would you rate first, second and third - and why? I had an intensive discussion today about which of the three solutions comes closest to "best practice" Shiny app design. (While…
nilsole
  • 1,663
  • 2
  • 12
  • 28
-1
votes
1 answer

How to turn an entire dataframe into a reactive object on start?

My shiny app relies on a main CSV dataframe from which users pick whatever variable they want to feed charts, maps, etc. I now want users to be able to create new variables by combining existing variables. Problem: I need the new variables to be…
-1
votes
1 answer

How to use debounce to only redraw graph after all inputs have been revalidated

I am trying to wrap my head around debounce. I have attempted to insert it into the chain of reactive functions seen in the code below but to no avail. I am trying to figure out how to make the plot refresh only after the invalidation sequence has…
-1
votes
1 answer

Changing the background color of rows in a datatable using rownames

I have a datatable which i want to customise based on the row names and the values present in the rows. Customizing the color of the datables is generally done by the column names, but not the row names. Below is my dataframe. df <-…
-2
votes
1 answer

Create a grid with checkboxes in R shiny

I am trying to create a grid which has its rows and column names as variables in a particular data set so that I can map individual rows for regression in r on backend (where row names will be dependent variable and column names will be independent…
1 2 3
64
65