View source: R/handler_ascii_alert.R
handler_ascii_alert | R Documentation |
A progression handler based on cat("\a", file=stderr())
.
handler_ascii_alert(
symbol = "\a",
file = stderr(),
intrusiveness = getOption("progressr.intrusiveness.audio", 5),
target = c("terminal", "audio"),
...
)
symbol |
(character string) The character symbol to be outputted,
which by default is the ASCII BEL character ( |
file |
(connection) A base::connection to where output should be sent. |
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 |
handlers("ascii_alert")
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.