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

Christofer Bogaso bogaso.christofer at gmail.com
Sun Dec 25 21:32:16 CET 2016


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.



More information about the R-help mailing list