[R] R language : Error catching

Duncan Murdoch murdoch at stats.uwo.ca
Wed Oct 1 12:25:13 CEST 2008


On 01/10/2008 5:12 AM, quant15 wrote:
> Hello fellows,
> 
> I was wondering : is there a way to catch errors in R language built
> programmes like C++ or Visual Basic would do (ex : on error go to ....) ? So
> far i am using batteries of "if ... else" in my algorithms but it would be a
> lot easier to catch errors on the whole.

See ?try.

Duncan Murdoch



More information about the R-help mailing list