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.