R Under development (unstable) (2024-01-07 r85787 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(RCurl) > > url = "http://www.omegahat.net/Rcartogram/demo.jpg" > header = RCurl:::basicTextGatherer() > ans = try(getBinaryURL(url, headerfunction = header$update)) > > > url = "http://eeyore.ucdavis.edu/stat141/data/Elections/NYExitData.rda" > header = RCurl:::basicTextGatherer() > ans = try(getBinaryURL(url, headerfunction = header$update)) Error in function (type, msg, asError = TRUE) : Failed to connect to eeyore.ucdavis.edu port 80 after 21206 ms: Couldn't connect to server > > proc.time() user system elapsed 0.18 0.10 21.82