I am in the process of developing a shiny application for data analysis, and have hit a problem when it comes to scoping. I had organized my application so that all my functions exist at the top of the application, and that the server only contained calls to those functions, and smaller work needed to make the program operate. I just identified a problem however, (access to input variables) with scoping that required me to place one of my function definitions inside the server function.
I had planned to later relocate all of the functions to a separate file. I was wondering if anyone had similar issues with regard to scoping, and if it is possible to define the scope of the function (i.e. allow it access to the variables without being placed in the server function).
Here is the specific error message I was addressing by moving the function into my server function.
Error : object 'input' not found
Apologies for the number of times the word function was used.
Thanks in advanced,
Chris