Shiny in R: How can I pass a value from a reactive environment in server.R to ui.R? -
i have locally defined vector of values in server.r , use in ui.r. idea following:
server.r
values <- rep(na, 10) reactive{( values[i] <- ... (where index defined input ui.r) })
global.r
pass <- values
so can use vector pass in ui-environment. however, not work. guess, global.r , ui.r know initial state of vector values , not updated one. appreciate help!
Comments
Post a Comment