View source: R/handler_beepr.R
handler_beepr | R Documentation |
A progression handler for beepr::beep()
.
handler_beepr(
initiate = 2L,
update = 10L,
finish = 11L,
interrupt = 9L,
intrusiveness = getOption("progressr.intrusiveness.audio", 5),
target = "audio",
...
)
initiate , update , finish , interrupt |
(integer) Indices of |
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 |
This progression handler requires the beepr package.
if (requireNamespace("beepr", quietly = TRUE)) {
handlers("beepr")
with_progress({ y <- slow_sum(1:10) })
print(y)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.