Simple functions for manipulating progress bars.

Description

Set the progress bar with the given length (from zero) or add value to the created progress bar.

Usage

1
2
3
set.pb(.max)

add.pb(.pb, .value = 1)

Arguments

.max

Length of the progress bar.

.pb

Progress bar object.

.value

Value to add to the progress bar.

Value

Progress bar (for set.pb) or length-one numeric vector giving the previous value (for add.pb).

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.