Thank you for your help. You were right. Now it is working. You can see my code here:
https://hame.shinyapps.io/OnlineMonitoring/
I need your thoughts and opinion here to continue my work. In this code, I am using a dataset that is calculated using another R code ( load (file = "FlowResult.RData") ). To explain more, there is a website of rainfall data which is updating every one hour. I wrote a code, to read this rainfall data, run my model and give me the output (runoff flow volume at outfalls) and save it as "FlowResult.RData" that I am using here in shinyapps code. in this stage, I am running this code using my own laptop every one hour.
What I am going to do, is to I) automatically run my R code separately in a cloud or somewhere (not in my laptop), II) then get the result ("FlowResult.RData") and save it somewhere that shinyapps can read it, III) then update the shinyapps every one hour. So the readers can see the updated results.
Do you have any idea how can I do these three steps?
Is there any options in shinyapps to schedule events (run every one hour)? is there any boxes or location in shinyapps to save my "FlowResult.RData" result there?