[R] email notification after error
Bernd Bischl
bernd_bischl at gmx.net
Mon Aug 17 07:58:44 CEST 2009
Patrick Connolly wrote:
> On Thu, 13-Aug-2009 at 05:48PM -0700, caltechneurostudy wrote:
>
> |>
> |> Does anybody know if it's possible to have R send an email or execute an
> |> additional line of code in case an error is generated from a running script?
> |> I am running R on a cluster and would like to have it kill the job if R
> |> generates an error, but as it is, the job just keeps running until the
> |> wallclock is done.
>
> ?try
> ?system
>
concerning mails, maybe you find this helpful:
http://cran.r-project.org/web/packages/sendmailR/index.html
More information about the R-help
mailing list