tests/jpeg.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))

Try the RCurl package in your browser

Any scripts or data that you put into this service are public.

RCurl documentation built on Nov. 3, 2023, 1:09 a.m.