Sets current progress.

# S3 method for class 'ProgressBar'
setProgress(this, progress, visual=TRUE, ...)

Arguments

progress

A double in [0,1] specifying the relative progress.

visual

If TRUE, the progress bar is redraw, otherwise not.

...

Not used.

Value

Returns old value.

Author

Henrik Bengtsson

See also

*setValue(). *increase(). *reset(). For more information see ProgressBar.