RShiny computation progress indicator

62 Views Asked by At

I made an RShiny app with a lengthy computation.

The lengthy computation leaves the screen at a standstill, and I am worried that either the computation came up blank, or that the connection timed out, or something else might have happened.

Is there a way to show an indicator (ie rotating hour glass, etc) on the screen to show the user that processing is ongoing.

1

There are 1 best solutions below

0
E Miller On

You could add a progress bar. http://shiny.rstudio.com/reference/shiny/1.2.0/Progress.html.

This might take a bit of refactoring, but it improves the UX and would give you an idea of where the failure is occurring(Connection, computation, etc.).