Skip to content

Cool way to notify yourself that a long R script has finished running

July 10, 2012

The mail package on CRAN provides a cool way to have R alert you to the fact that your gigantic script has finally finished running. In particular, R will send you an email when the computations are done. Here’s an example:

# really intensive calculations go here...

Once your script is done running, you’ll get this email:

Subject: Notification from R
To: you
Body: Calculation finished!

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: