Re: [R] errors handling

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Fri 28 Oct 2005 - 21:51:04 EST

Marco Venanzi wrote:

> Hi, I have an index "i" that varies from 1 to n. For each value of this index I open a connection, e.g.
>
> conness<-url(...)
> conness<-readLines(conness)
>
> For certain values of "i" it occurs an error (Warning message: cannot open: HTTP status was `0 (null)' ) and the program flow ends. How can I ignore these errors, allowing the program to go on?

Please read the FAQs, in particular "How can I capture or ignore errors in a long simulation?"!

Uwe Ligges

> Thanks,
>
> Marco
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Oct 28 21:53:48 2005

This archive was generated by hypermail 2.1.8 : Sat 29 Oct 2005 - 00:13:02 EST