View source: R/handler_rpushbullet.R
handler_rpushbullet | R Documentation |
A progression handler for pbPost()
of the RPushbullet package.
handler_rpushbullet(
intrusiveness = getOption("progressr.intrusiveness.rpushbullet", 5),
target = "gui",
...,
title = "Progress update from R",
recipients = NULL,
email = NULL,
channel = NULL,
apikey = NULL,
device = NULL
)
intrusiveness |
(numeric) A non-negative scalar on how intrusive (disruptive) the reporter to the user. |
target |
(character vector) Specifies where progression updates are rendered. |
title |
The title of the note being posted. |
recipients |
A character or numeric vector indicating the devices this post should go to. If missing, the default device is looked up from an optional setting, and if none has been set the push is sent to all devices. |
email |
An alternative way to specify a recipient is to specify
an email address. If both |
channel |
A channel tag used to specify the name of the channel
as the recipient. If either |
apikey |
The API key used to access the service. It can be
supplied as an argument here, via the global option
|
... |
Additional arguments passed to |
This progression handler requires the RPushbullet package, a Pushbullet account, and configuration according to the instructions of the RPushbullet package. It also requires internet access from the computer where this progress handler is registered.
pkg <- "RPushbullet"
if (requireNamespace(pkg, quietly = TRUE)) {
handlers("rpushbullet")
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.