Description Usage Arguments Details Value Author(s) Examples
Create a JSON config file
1 | pbSetup(apikey, conffile, defdev)
|
apikey |
An Access Token provided by Pushbullet (see details). If not provided in the function call, the user will be prompted to enter one. |
conffile |
A string giving the path where the configuration file will
be written. RPushbullet will automatically attempt load from the default location
|
defdev |
An optional value for the default device; if missing (or |
This function writes a simple default configuration file based
on a given apikey. It is intended to be run once to help new users setup
RPushbullet. Running multiple times without overriding the
config_file
parameter will overwrite the default file. An Access
Token may be obtained for free by logging into the Pushbullet website,
going to https://www.pushbullet.com/#settings, and clicking on
"Create Access Token".
NULL
is returned invisibly, but the function is called for its side
effect of creating the configuration file.
Seth Wenchel and Dirk Eddelbuettel
1 2 3 4 5 | ## Not run:
# Interactive mode. Just follow the prompts.
pbSetup()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.