powered by
A progression handler for tcltk::tkProgressBar().
tcltk::tkProgressBar()
handler_tkprogressbar( intrusiveness = getOption("progressr.intrusiveness.gui", 1), target = "terminal", ... )
(numeric) A non-negative scalar on how intrusive (disruptive) the reporter to the user.
(character vector) Specifies where progression updates are rendered.
Additional arguments passed to make_progression_handler().
make_progression_handler()
This progression handler requires the tcltk package and that the current R session supports Tcl/Tk (capabilities("tcltk")).
capabilities("tcltk")
# NOT RUN { if (capabilities("tcltk") && requireNamespace("tcltk", quietly = TRUE)) { handlers("tkprogressbar") with_progress({ y <- slow_sum(1:10) }) print(y) } # }
Run the code above in your browser using DataLab