[R] How to avoid endless loop in shiny

Michael Peng michael.gang.peng at gmail.com
Tue Mar 8 20:35:46 CET 2016


Hi,

I added two sliderInput into the app with package "shiny": sliderA and
sliderB. The values in the two sliders are correlated. If I change sliderA,
I used updateSliderInput to update the value in sliderB. And also If I
change sliderB, I used  updateSliderInput to update the value in slideA.

The problem is it is an endless loop. How can I use updateSliderInput
without sending message to update the other slider.

Thank.

	[[alternative HTML version deleted]]



More information about the R-help mailing list