Simple progress bar

Uses cat() to print a progress bar

progressBar(percentage, size = 50, number = TRUE)

Arguments

percentage

Number between 0 and 100

size

Width the the progress bar in number of characters

number

Logical, show progress as number or not

See also