smart_progress | R Documentation |
Print progress of a for loop
smart_progress(ii, nn, string = ".", iter = 5, iter2 = 200, ...)
ii |
A positive integer to track a loop's progress |
nn |
A positive integer for the total number of loop iterations |
string |
A string to print |
iter |
A positive integer for how many multiple iterations to print "." |
iter2 |
A positive integer to end a line of printed "." and track the loop's progress |
... |
arguments passed to cat |
No return value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.