Learn R Programming

progressr (version 0.6.0)

handler_shiny: Progression Handler: Progress Reported via 'shiny' Widgets (GUI) in the HTML Browser

Description

A progression handler for shiny and shiny::withProgress().

Usage

handler_shiny(
  intrusiveness = getOption("progressr.intrusiveness.gui", 1),
  target = "gui",
  ...
)

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.

Additional arguments passed to make_progression_handler().

Requirements

This progression handler requires the shiny package.

Details

For most Shiny application there is little need to use this Shiny handler directly. Instead, it is sufficient to use withProgressShiny().

Examples

Run this code
# NOT RUN {
handlers(handler_shiny())
with_progress(y <- slow_sum(1:100))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab