> 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.
Take a look at ?try ?tryCatch ?stop Regards, Richie. Mathematical Sciences Unit HSL ------------------------------------------------------------------------ ATTENTION: This message contains privileged and confidential inform...{{dropped:20}} ______________________________________________ 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.