Progress bars

It is quite common within Shiny applications and in analytics generally, to have computations or data fetches that take a long time. Later in the chapter, you will learn some of the ways in which you can control the reactive relationships within an application in order to reduce unnecessary processing.

However, even using all these tools, it will sometimes be necessary for the user to wait some time before their output is returned. In cases like this, it is a good practice to do two things: first, to inform that the server is processing the request and has not simply crashed or otherwise failed, and second, to give the user some idea of how much time has elapsed because they requested the output and how much time they have remaining ...

Get Web Application Development with R Using Shiny - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.