Skip to content
Back to formatted view

Raw Message

Message-ID: <436210A8.7070406@statistik.uni-dortmund.de>
Date: 2005-10-28T11:51:04Z
From: Uwe Ligges
Subject: errors handling
In-Reply-To: <001001c5dbae$71fa7900$0501a8c0@nome65ff66cddf>

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 at 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