powered by
A progression handler for notify() of the notifier package.
notify()
handler_notifier( intrusiveness = getOption("progressr.intrusiveness.notifier", 10), target = "gui", ... )
(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 notifier package, which is only available from https://github.com/gaborcsardi/notifier. This can be installed as remotes::install_github("gaborcsardi/notifier@62d484").
remotes::install_github("gaborcsardi/notifier@62d484")
# NOT RUN { pkg <- "notifier" if (requireNamespace(pkg, quietly = TRUE)) { handlers("notifier") with_progress({ y <- slow_sum(1:10) }) print(y) } # }
Run the code above in your browser using DataLab