The fact that you are downloading a zip is irrelevant. The "s" in "https" means 
you are trying to download using the secure http protocol. I don't use a Mac, 
but Google finds https://stat.ethz.ch/pipermail/r-sig-mac/2011-July/008395.html 
when I search on "r unsupported url scheme mac osx" which says you need to use 
different options (but that post is old so the options may be different now). 
In any case, you should be posting this on R-sig-mac because the answer depends 
on both your OS and version of R.
-- 
Sent from my phone. Please excuse my brevity.

On December 25, 2016 1:50:00 PM PST, Christofer Bogaso 
<bogaso.christo...@gmail.com> wrote:
>Hi Jeff, I dont think I understood all that you said. I am using Mac
>OS X 10.7.5 as OS
>
>On Mon, Dec 26, 2016 at 3:10 AM, Jeff Newmiller
><jdnew...@dcn.davis.ca.us> wrote:
>> This has nothing to do with the fact that you are dealing with a zip
>file and everything to do with the "s" in "https", and all the
>solutions I have seen involve knowing what operating system you are
>using. I highly recommend that you study what Google has to say when
>you include that detail and leave out the zip keyword.
>> --
>> Sent from my phone. Please excuse my brevity.
>>
>> On December 25, 2016 12:32:16 PM PST, Christofer Bogaso
><bogaso.christo...@gmail.com> wrote:
>>>Hi again,
>>>
>>>I was following the instruction available in
>>>"http://stackoverflow.com/questions/3053833/using-r-to-download-zipped-data-file-extract-and-import-data";
>>>to download data from Internet contained in a zip file from the
>>>address :
>>>
>>>https://npscra.nsdl.co.in/download.php?path=download/&filename=NAV_File_23122016.zip
>>>
>>>However when I tried to follow the instruction I am facing below
>error
>>>:
>>>
>>>> temp <- tempfile()
>>>>
>>>download.file("https://npscra.nsdl.co.in/download.php?path=download/&filename=NAV_File_23122016.zip",temp)
>>>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-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>>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.
>>

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to