Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

iterCount

Simple Text Iteration Counter


Description

Simple Text Iteration Counter

Usage

iterCount(n = 100, i0 = 0L, title = "Iterations", extra = NULL, verbose = TRUE)

Arguments

n

number of total steps

i0

starting step

title

character string to use as title

extra

character vector providing extra text to add at each step

verbose

logical that toggles the counter

Examples

progress <- iterCount(LETTERS)
res <- sapply(LETTERS, function(x){
 Sys.sleep(.1)
	progress()
})
# terminate counter
i_end <- progress(NULL)
i_end

pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.