[R] Download data from Internet contained in a Zip file

Christofer Bogaso bogaso.christofer at gmail.com
Sun Dec 25 22:50:00 CET 2016


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
<jdnewmil at 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.christofer at 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 at 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.
>



More information about the R-help mailing list