Shiny app does not reflect changes in update RData file

前端 未结 3 1372
萌比男神i
萌比男神i 2020-12-18 04:33

I update my RData file on daily basis through a cron job for my shiny apps. However, shiny apps does not pick updates most of the time and keep showing the old data from old

3条回答
  •  醉梦人生
    2020-12-18 04:58

    It works if you restart your shiny server after the new *.RData is processed. I wouldn't put it into the shiny server because then

    1) Its variables are not visible to the UI

    2) Every user that opens the app needs to wait for RData loading to finish.

提交回复
热议问题