Set the progress bar with the given length (from zero) or add value to the created progress bar.
set.pb(.max)add.pb(.pb, .value = 1)
Length of the progress bar.
Progress bar object.
Value to add to the progress bar.
Progress bar (for set.pb) or length-one numeric vector giving the previous value (for add.pb).