progressBar | R Documentation |
Make a progress bar
progressBar(i, n = NULL, iterator = NULL)
i |
Step of the iteration. |
n |
Total number of iteration |
iterator |
If 'i' belongs to a vector of iterators, define it here. |
The function returns only messages (from cat
).
n = 1234
for(i in seq(n)){
Sys.sleep(0.01)
progressBar(i = i, n = n)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.