[R] Keep loop running after webpage times out?

Cess cealess at gmail.com
Fri Oct 19 00:07:38 CEST 2012


Hi
I have created a loop to obtain data from several webpages
but the loop keeps crashing with the error 
"Error in function (type, msg, asError = TRUE)  : 
  Operation timed out after 5000 milliseconds with 9196 bytes received"
  
  Page = getURLContent(page[i], followlocation=TRUE, curl = curl,.opts=list(
verbose = TRUE, timeout=5))
  
  I am not sure how to keep the loop running after that error, so any help
would be appreciated
ps: I have played with the timeout option but it eventually crashes..
Thanks



--
View this message in context: http://r.789695.n4.nabble.com/Keep-loop-running-after-webpage-times-out-tp4646689.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list