Re: [R] How to access https page

2015-03-10 Thread Prof Brian Ripley
On 09/03/2015 22:39, Hui Du wrote: Hi All, I am trying to parse some information from website, say, a linkedin page. The linkedin url was url = http://www.linkedin.com/in/huidu; I had no problem to use readLines and XML package to collect the information I need. However, that url became

Re: [R] How to access https page

2015-03-10 Thread Jeroen Ooms
On Mon, Mar 9, 2015 at 3:39 PM, Hui Du hui...@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

Re: [R] How to access https page

2015-03-09 Thread Jorge I Velez
Hi Hui, I have used the source_url function in the devtools package with good results. Give it a shot! Best, Jorge.- On Tue, Mar 10, 2015 at 9:39 AM, Hui Du hui...@savvyrookies.com wrote: Hi All, I am trying to parse some information from website, say, a linkedin page. The linkedin url

[R] How to access https page

2015-03-09 Thread Hui Du
Hi All, I am trying to parse some information from website, say, a linkedin page. The linkedin url was url = http://www.linkedin.com/in/huidu; I had no problem to use readLines and XML package to collect the information I need. However, that url became https://www.linkedin.com/in/huidu; now.