Description Usage Arguments Author(s) References Examples
This Function provides a connection to the pushover.net API to send push notification to your smartphone directly from R. (ACCOUNT REQUIRED!)
1 |
user |
Your Pushover User Key. |
message |
The message you want to send to your Smartphone (max. 512 character). |
title |
Title of your notification (optional). Default: notifyR |
device |
Specifies the Device you want to send the notification to (optional). |
url |
An additional URL which will be send with the notification (optional). |
url_title |
Title of this URL (optional). |
priority |
Boolean value. If it's set to 'TRUE' the notification will be send with high Priority. You will recieve it also during your 'quiet hours' which you can set on pushover.net (optional). Default: False |
timestamp |
Set the Timestamp which is displayed in notification (optional). Default: Sys.time() |
Torben Engelmeyer <torben@engelmeyer.de>
http://www.engelmeyer.de/notifyR
http://pushover.net
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
## First get your user key at http://pushover.net
##
userkey <- "[YOUR PUSHOVER USER KEY]" #Define user key
send_push(userkey,"Simulation finished")
send_push(userkey,message="finished.",title="World Simulation",url="http://www.myRresults.com/",url_title="View Results online.",priority=TRUE)
send_push(userkey,"Cool Date",timestamp=as.POSIXct("1987-02-24 15:00:00", tz="CET"))
send_push(userkey,"Send notification only to my favorite Smartphone",device="favorite")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.