cURL ?
On Fri, May 3, 2013 at 11:31 AM, jawad hussain <miyanjawad at hotmail.com> wrote:
Dear Sir I tried to find cURL on web but I do not find reliable file; there are some files on http://curl.haxx.se/. But I do not know which is suitable for R and how to install? Kind Regards
As usual, the OS is relevant here. What are you running? Linux package managers should be able to handle this for you. And I'd have guessed this was a "Just works" for OS X. MW
Jawad Hussain Ashraf VPO Aroop, Tehsil and District GujranwalaMobile phone# 03016673275
Date: Sun, 28 Apr 2013 19:07:05 +0100 From: ripley at stats.ox.ac.uk To: miyanjawad at hotmail.com CC: r-help at r-project.org Subject: Re: [R] unsupported url scheme On 28/04/2013 15:32, jawad hussain wrote:
fileUrl <- "https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD"download.file(fileUrl,destfile="./data/Cameras.csv",method="curl") I tried it after installing package "RCurl" but it give error message: Error in download.file(fileUrl, destfile = "Cameras.csv") : unsupported URL schemeI can you help me to solve this problem. JAWAD HUSSAIN ASHRAF
Yes, simply install a version of cURL which supports that scheme, then re-install RCurl.
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
That does apply to you, too. No HTML, tell us your sessionInfo() .... -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.