Has anyone tried this before? I have a plot which auto-refreshes itself and update with the latest data on each refresh. It looks perfectly OK at first. I have put that auto-refresh for every minute (60seconds). Things are OK for the next about 30 minutes, but after which the plot does not appear, and that whole screen area starts shaking to the right and left continuously. What are the causes? Is it memory issue?
code sample below:
UpdatedTemperature <- reactive({
load("/xyz/data/abc.RData")
...
plot_xts <- cbind(Temp1,Temp2)
invalidateLater(60*1000)
plot_xts
})
output$abc_dygraph <- renderDygraph({
plot_xts <- UpdatedTemperature()
....
graph <- dygraph(plot_xts) %>%
dyRangeSelector() %>%
dyLegend(width = 1240)
graph
})