I would like to find out if Shiny Server app is able to display a text which is automatically updated without human interference of pressing the refresh button. E.g is the date and time text which is updated on a per second basis.
Hi @tanthiamhuat. You may use
invalidateLater to trigger reactive after time interval.
In fact, before I posted this, I have already tried reactiveTimer or invalidateLater, which works well to update after some timer interval. But my actual need is that in the Shiny Server app UI, say the text display, I want that text to be automatically updated on the screen, without human interference of pressing the refresh button. Not sure if you get my requirement. Thanks.
textInput() Will display the text as you type, and then you can paste0 the input with time stamps
I have found a better solution with reactivePoll(). Thanks all.
This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.