Report progress with attendant.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | withProgressAttendant(
expr,
...,
session = getDefaultReactiveDomain(),
env = parent.frame(),
quoted = FALSE
)
setProgressAttendant(
value = 1,
text = NULL,
session = getDefaultReactiveDomain()
)
incProgressAttendant(
value = 1,
text = NULL,
session = getDefaultReactiveDomain()
)
|
expr |
The work to be done.
This expression should contain calls to
setProgressAttendant |
... |
Passed to the Attendant constructor ( |
session |
The Shiny session object, as provided by
|
env |
The environment in which |
quoted |
Whether |
value |
Value to set the waitress to or increase it by. |
text |
Text to display on the progress bar. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.