smart_progress: smart_progress

View source: R/basic.R

smart_progressR 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.


pllittle/smartr documentation built on Feb. 28, 2025, 6:54 a.m.