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

ios - Is 'init' forbidden as *part* of a variable name? -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -

c# - Get the Class name in a class with atribute inside a attribute method -