RCurl getURL with loop - link to a PDF kills looping
问题 I've been puzzling this long enough now and can't seem to figure out how to get around it. Easiest to give working dummy code: require(RCurl) require(XML) #set a bunch of options for curl options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))) agent="Firefox/23.0" curl = getCurlHandle() curlSetOpt( cookiejar = 'cookies.txt' , useragent = agent, followlocation = TRUE , autoreferer = TRUE , httpauth = 1L, # "basic" http authorization version -- this seems