I run simulations in R that often take a long time (days or weeks). Is is possible to have R send me an SMS notification when the simulations finish?
I see that it's possible to set up an alarm
but I don't see how to set up text notifications.
I run simulations in R that often take a long time (days or weeks). Is is possible to have R send me an SMS notification when the simulations finish?
I see that it's possible to set up an alarm
but I don't see how to set up text notifications.
Here is a simple code that will send you notifications using RPushbullet:
library(RPushbullet)
pbPost(title="Simulations are completed",
apikey="KEY HERE", #API key is found in account settings
devices="DEVICE ID HERE") #Device ID's are found on devices page.
The apikey
is located in your account settings (and is free)
The device id's can be found by clicking on each device and pasting the value(s) following the equal signs (shown by the X's below).
www.pushbullet.com/?device_iden=XXXXXXXXXXXXXXXX
As noted in the comments, more sophisticated approaches are described here and here.