Description Usage Arguments Details Value
View source: R/utils_interface.R
Create, set and terminate a progress object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | startProgress(
message,
divisions,
global = if (isRunning()) sharedData else getHidden()
)
updateProgress(
message = "Loading...",
value = NULL,
max = NULL,
detail = NULL,
divisions = NULL,
global = if (isRunning()) sharedData else getHidden(),
console = TRUE
)
closeProgress(
message = NULL,
global = if (isRunning()) sharedData else getHidden()
)
|
message |
Character: progress message |
divisions |
Integer: number of divisions in the progress bar |
global |
Shiny's global variable |
value |
Integer: current progress value |
max |
Integer: maximum progress value |
detail |
Character: detailed message |
console |
Boolean: print message to console? |
If divisions
is not NULL
, a progress bar starts with
the given divisions. If value = NULL
, the progress bar increments one
unit; otherwise, the progress bar increments value
.
NULL
(function is only used to modify the Shiny session's
state or internal variables)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.