Shiny app does not reflect changes in update RData file

前端 未结 3 1385
萌比男神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:54

    The app is cached by shiny server and it does not update the app unless a change is detected in one of .R files associated with your shiny app. A hack is to make a subtle change in your app code (e.g. switch the loading order of libraries) to prompt shiny server to reset the cache and thereby include your updated .RData file.

提交回复
热议问题