smart_progress {smarter}R Documentation

smart_progress

Description

Print progress of a for loop

Usage

smart_progress(ii, nn, string = ".", iter = 5, iter2 = 200, ...)

Arguments

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

Value

No return value.


[Package smarter version 1.0.1 Index]