[R] email notification after error

Patrick Connolly p_connolly at slingshot.co.nz
Fri Aug 14 09:28:59 CEST 2009


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





|> 
|> Thanks.
|> -- 
|> View this message in context: http://www.nabble.com/email-notification-after-error-tp24963220p24963220.html
|> Sent from the R help mailing list archive at Nabble.com.
|> 
|> ______________________________________________
|> R-help at r-project.org mailing list
|> https://stat.ethz.ch/mailman/listinfo/r-help
|> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
|> and provide commented, minimal, self-contained, reproducible code.

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.




More information about the R-help mailing list