As I understand from shiny documentation, anytime a widget gets changes in the side panel of UI, server recomputes and sends the plots (etc) to main panel in UI.
However, in my case UI needs to respond to new data coming from outside (java code is reading from socket on a thread). I believe input argument to shiny server is coming from UI and cannot be altered to come from other R or Java (pl correct me if I am wrong). So I am thinking of appending the new data to a file and shiny server can periodically read this file and recompute the graphs
1)How can I ensure that my shiny server repeatedly gets called ? can I do something in sidepanel of UI to periodically invoke shiny server or can I loop in shiny server with delay(similar to java for loop) 2)Assuming above (1) can be done, can I write what ever R code I want in shiny server (like reading data from file); are there any limitations on what code goes into shiny server