Description Usage Functions Examples
Straightforward progress bar based on 'textProgressBar', suitable for use with a linear 'for' or 'foreach' loop.
1 2 3 | reset_progress_bar(loop_data, title = NULL, by = "", ...)
update_progress_bar(value = NULL, ...)
|
reset_progress_bar
: Prepare the progress bar to loop over some data
update_progress_bar
: Update the progress bar value
1 2 3 4 5 6 7 8 | ## Not run:
reset_progress_bar(big_vec)
foreach(vec=big_vec) %do% {
# ...
update_progress_bar()
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.