winProgressBar(title = "R progress bar", label = "",
min = 0, max = 1, initial = 0, width = 300)getWinProgressBar(pb)
setWinProgressBar(pb, value, title = NULL, label = NULL)
# S3 method for winProgressBar
close(con, …)
"winProgressBar"
.winProgressBar
an object of class "winProgressBar"
. For getWinProgressBar
and setWinProgressBar
, a
length-one numeric vector giving the previous value (invisibly for
setWinProgressBar
).winProgressBar
will display a progress bar centred on the
screen. Space will be allocated for the label only if it is non-empty. setWinProgessBar
will update the value and for non-NULL
values, the title and label (provided there was one when the widget
was created). Missing (NA
) and out-of-range values of
value
will be (silently) ignored. The progress bar should be close
d when finished with, but it
will be garbage-collected once no R object refers to it.txtProgressBar
, tkProgressBar