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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -