progressBar: Make a progress bar

View source: R/progressBar.R

progressBarR Documentation

Make a progress bar

Description

Make a progress bar

Usage

progressBar(i, n = NULL, iterator = NULL)

Arguments

i

Step of the iteration.

n

Total number of iteration

iterator

If 'i' belongs to a vector of iterators, define it here.

Value

The function returns only messages (from cat).

Examples

n = 1234
for(i in seq(n)){
  Sys.sleep(0.01)
  progressBar(i = i, n = n)
}

LuisLauM/ruisu documentation built on Feb. 19, 2025, 9:37 a.m.