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

______________________________________________
R-help@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.

Reply via email to