Michael

It is not possible to answer this question without seeing reproducible code. 
More importantly, it is better to ask Shiny-related questions on stackoverflow 
using the Shiny tag or on the Shiny google group.



-----Original Message-----
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Michael Peng
Sent: Tuesday, March 08, 2016 2:36 PM
To: r-help@r-project.org
Subject: [R] How to avoid endless loop in shiny

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]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to