[R] errors handling

From: Marco Venanzi <marvena_at_tin.it>
Date: Fri 28 Oct 2005 - 20:57:52 EST


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?

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 Received on Fri Oct 28 21:02:30 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:51 EST