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

Popular posts from this blog

javascript - Why Selenium can't find an element that is graphically visible -

android - Basic camera in app -

scala - Using the kronecker product on complex matrices with scalaNLP breeze -