[R] continue a for() when occurs errors

Gabor Grothendieck ggrothendieck at gmail.com
Thu Dec 20 15:12:52 CET 2007


Its a FAQ:

http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-capture-or-ignore-errors-in-a-long-simulation_003f

On Dec 20, 2007 3:24 AM, Milton Cezar Ribeiro <milton_ruser at yahoo.com.br> wrote:
> Dear all,
>
> I am simulating some regressions in a for() looping and sometimes occours some error and the R stop my batch processing. I would like do save the step where the error happned and continue my for() looping.
> Is there a way to do that?
>
> Thanks In Advance.
> Miltinho
>
>
>
>  para armazenamento!
>
>        [[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