Re: [R] Perform task on error

2013-07-24 Thread Thomas Stewart
H ow about a custom error handling function? As in, options(error = quote( ...CODE TO SEND EMAIL ... )) On Wed, Jul 24, 2013 at 4:06 PM, brt wrote: > I have a web service that uses an R script to perform the analysis. At the > end of the R script, I use the system function to call an external

[R] Perform task on error

2013-07-24 Thread brt
I have a web service that uses an R script to perform the analysis. At the end of the R script, I use the system function to call an external (perl) script that sends the user an e-mail telling them that their analysis has finished running, and where they can download the results. However, if the