“Unsupported URL scheme” error when getting data from https sites in R

Error : R produces “unsupported URL scheme” error when getting data from https sites ( R with ubuntu )

> download.file(fileurl,”./data/housing.csv”)
The above statement produces error.
I used method=”wget” on unix system and it worked.
> download.file(fileurl,”./data/housing.csv”,method=”wget”)

Worked fine !!!

2 thoughts on ““Unsupported URL scheme” error when getting data from https sites in R

Leave a comment