handler_winprogressbar: Progression Handler: Progress Reported as a MS Windows Progress Bars in the GUI
Description
A progression handler for winProgressBar()
in the utils package.
Usage
handler_winprogressbar(
intrusiveness = getOption("progressr.intrusiveness.gui", 1),
target = "gui",
inputs = list(title = NULL, label = "message"),
...
)
Arguments
- intrusiveness
(numeric) A non-negative scalar on how intrusive
(disruptive) the reporter to the user.
- target
(character vector) Specifies where progression updates are
rendered.
- inputs
(named list) Specifies from what sources the MS Windows
progress elements 'title' and 'label' should be updated. Valid sources are
"message"
, "sticky_message"
and "non_sticky_message"
, where
"message"
is short for c("non_sticky_message", "sticky_message")
. For
example, inputs = list(title = "sticky_message", label = "message")
will update the 'title' component from sticky messages only,
whereas the 'label' component is updated using any message.
- ...
Additional arguments passed to make_progression_handler()
.
Requirements
This progression handler requires MS Windows.
Examples
Run this codeif (FALSE) {
handlers(handler_winprogressbar())
with_progress(y <- slow_sum(1:100))
}
Run the code above in your browser using DataLab