Can I pass a reactiveValues to a conditionalPanel's condition? If so, how?
Here is what I have tried in the conditionalPanel ui.R:
conditionalPanel(condition = "values.cond == 0", etc.
where I have defined values$cond
in server.R:
values <- reactiveValues(cond = 0)
I have also tried alternatives like "values.cond == true"
, without success.
library("shiny")
runGist("https://gist.github.com/anonymous/8281021")
See the code:
https://gist.github.com/anonymous/8281021
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…