[R-SIG-Mac] Download data from Internet contained in a Zip file
dwinsemius at comcast.net
Mon Dec 26 02:48:53 CET 2016
> On Dec 25, 2016, at 3:46 PM, Gábor Csárdi <csardi.gabor at gmail.com> wrote:
> Your R build does not support HTTPS.
> I suggest that you use the curl package if you can. HTTP support in
> base R is very limited currently.
I generally use the downloader package. It sets up the call to download.file so that it succeeds with https URLs.
trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.3/downloader_0.4.tgz'
Content type 'application/x-gzip' length 19459 bytes (19 KB)
downloaded 19 KB
The downloaded binary packages are in
starting httpd help server ... done
# Requires both a source and destination file name.
trying URL 'https://npscra.nsdl.co.in/download.php?path=download/&filename=NAV_File_23122016.zip'
Content type 'application/octet-stream' length 1228 bytes
downloaded 1228 bytes
> On Sun, Dec 25, 2016 at 10:37 PM, Christofer Bogaso
> <bogaso.christofer at gmail.com> wrote:
>> Hi again,
>> I posted this in general R thread, however it is suggested this group
>> since I am using MAC OS 10.7.5.
>> I was following the instruction available in
>> to download data from Internet contained in a zip file from the
>> address :
>> However when I tried to follow the instruction I am facing below error :
>>> temp <- tempfile()
>> Error in download.file("https://npscra.nsdl.co.in/download.php?path=download/&filename=NAV_File_23122016.zip",
>> unsupported URL scheme
>> Can someone here please tell me what went wrong in above?
>> Highly appreciate your feedback.
>> Thanks for your time.
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
More information about the R-SIG-Mac