Skip to content

[Bioc-devel] check shiny app: issue with global variables: input$Vars is not found

1 message · Karim Mezhoud

#
Hi Stefan,
Thanks,
Yes you are right.
I mean r_data$globalVar2 instead input$globalVar2.
which r_data is a new env used to store global variables.
The question is:
Some functions run with  variables returned from ui.R  (input$var1) and in
some case theses variables are saved as global variable to avoid
re-computing.

when I check R CMD, the input$var1 is not found.

How to avoid this issue?

Thanks,
Karim



On Tue, May 3, 2016 at 3:46 PM, Stefan Haunsberger <
stefan.haunsberger at gmail.com> wrote: