[R] resume on error

R. Michael Weylandt michael.weylandt at gmail.com
Sun Mar 11 00:56:36 CET 2012

? try or ? tryCatch


On Sat, Mar 10, 2012 at 6:08 PM, Alaios <alaios at yahoo.com> wrote:
> Dear all,
> I would like to ask you how I can catch an error on R and then ask it to resume.
> For example I have a large for loop and I know for a small number inside that loop there will be errors. How I can ask in that case from R just to ignore it and return back to the loop?
> I would like to thank you in advance fro your help
> B.R
> Ale
>        [[alternative HTML version deleted]]
> ______________________________________________
> 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.

More information about the R-help mailing list