Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (8 sloc) 0.43 kb
urls = sprintf("http://eeyore.ucdavis.edu/EmptyFiles/f%d", 1:10000)
library(RCurl)
curl = getCurlHandle()
N = 2000
u = "http://localhost/~duncan"
ans = lapply(1:N, function(i) { if(i %% 100 == 0) { cat(i, ""); gc()} ;getURLContent(u, curl = curl)})
ans = lapply(1:N, function(i) { if(i %% 100 == 0) { cat(i, ""); gc()} ;getURLContent(u)})
ans = lapply(1:N, function(i) { if(i %% 100 == 0) { cat(i, ""); gc()} ;getURL(u)})
Jump to Line
Something went wrong with that request. Please try again.