Skip to content
Prev 371477 / 398506 Next

Add wrapper to Shiny in R package

On 21/09/2017 11:30 AM, Axel Urbiz wrote:
I don't know Shiny's setup very well, but I don't see how the server 
function could see my.env here.  my.env is local to myApp, and the 
server function is defined outside of that.

So you should move my.env to the global environment where the server can 
see it, or define the app within myApp, where its functions can see 
locals for that function.

Duncan Murdoch