set.pb: 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
set.pb(.max)add.pb(.pb, .value = 1)
Arguments
.max
Length of the progress bar.
.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).