invalidateLater doesn't refresh the data when it comes to the next day

8 views
Skip to first unread message

Jason Feng

unread,
Oct 16, 2017, 7:52:21 PM10/16/17
to Shiny - Web Framework for R
Hi there,

I have used invalidateLater to read the file which is updated every hour (the exact minute varies a bit for each hour) per Joe's advice in the below link. Then I show the content of last hour of the file using DT.::renderDataTable.


It works fine in most of the times. However, when it comes to midnight and it flips to the next day, it seems the content of DT is no longer updated. I check that the file is updated every hour by another R script. Once I kill the shiny app and relaunch it, the content will be shown up to the last hour.

I am using R 3.2.3 on RHEL 6.6 with shiny 1.0.3.

Any advice is much appreciated.

Regards,
Jason
Reply all
Reply to author
Forward
0 new messages