Currently, when executing long jobs in R
, I put a call to alarm()
at the end of it so that I know my job is done.
What other methods exist? Any good hacks or custom functions?
Currently, when executing long jobs in R
, I put a call to alarm()
at the end of it so that I know my job is done.
What other methods exist? Any good hacks or custom functions?
At risk of losing all my reputation points:
1) Get a RaspberryPI and some Arduino stuff and a thermistor
2) Jam the thermistor into the output vent of your computer
3) Connect the thermistor leads to an A/D converter
4) Program the RaspberryPI to observe the thermistor temperature dropping from an elevated temperature to near room-temp
5) Upon such an event occurring, have the RaspberryPI send a remote command to your audio cabinet (which is connected to a set of Altec-Lansing studio monitors) to play The Doors' "The End" .
Self promotion alert:
I use my own GitHub repo of borrowed code to use Gmail to send me an email and a text message.
Here is the repo: https://github.com/trinker/gmailR
Here are the examples for email and text:
gmail(to=c("bob@gmail.com", "janr@hotmail.com"), password = "password",
attachment="path/to/file.pdf")
gmail(to=cell2email(5555555555, "sprint"), password = "password")