The progressr package provides a minimal, unifying API for scripts and packages to report progress updates from anywhere including when using parallel processing.
The package is designed such that the developer can to focus on what progress should be reported on without having to worry about how to present it.
The end user has full control of how, where, and when to render
these progress updates. For instance, they can chose to report progress
in the terminal using
progress::progress_bar() or via the graphical user interface (GUI)
An alternative to above visual rendering of progress, is to report it
It is possible to use a combination of above progression handlers, e.g.
a progress bar in the terminal together with audio updates.
Besides the existing handlers, it is possible to develop custom
The progressr package uses R's condition framework for signaling
progress updated. Because of this, progress can be reported from almost
anywhere in R, e.g. from classical for and while loops, from map-reduce
APIs like the
lapply() family of functions, purrr, plyr, and
The progressr package will also work with parallel processing via
the future framework, e.g.
foreach::foreach() with doFuture.
The progressr package is compatible with Shiny applications.
In the terminal:
In a graphical user interface (GUI):
Via the file system:
1 2 3 4 5 6 7 8 9 10 11 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.