Using Growl with R

If you have a long R script and would like to be notified when computation is complete, follow these directions to get Growl notifications:

  1. Install Growl and leave the disk image open.
  2. Open Terminal.
  3. Run “cd /Volumes/Growl-1.2/Extras/growlnotify”
  4. Run “./install.sh”

Then follow these directions to get your R script to talk to Growl by adding something like:
system(paste("growlnotify -a R -t \"R is done\" -m", "\"Inserted the data\"", sep=""))