Re: [R] continue a for() when occurs errors

From: Benilton Carvalho <bcarvalh_at_jhsph.edu>
Date: Thu, 20 Dec 2007 10:48:02 -0500

your description is pretty vague, at least for me...

it would be very helpful to have the "commented, minimal, self- contained, reproducible code"...

but, anyways, you might want to take a look at the try() command.

best
b

On Dec 20, 2007, at 3:24 AM, Milton Cezar Ribeiro 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.



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. Received on Thu 20 Dec 2007 - 15:52:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 20 Dec 2007 - 16:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.