[R] How to access https page

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Tue Mar 10 20:07:03 CET 2015


On Mon, Mar 9, 2015 at 3:39 PM, Hui Du <hui.du at savvyrookies.com> wrote:

> > readLines(url)
> Error in file(con, "r") : cannot open the connection
> In addition: Warning message:
> In file(con, "r") : unsupported URL scheme
>

Try:

library(curl)
readLines(curl(url))

	[[alternative HTML version deleted]]



More information about the R-help mailing list