[R] Accessing Pointers

David Winsemius dwinsemius at comcast.net
Fri Jun 23 01:26:11 CEST 2017


> On Jun 22, 2017, at 12:52 PM, Lawrence Fomundam <lawfom at gmail.com> wrote:
> 
> Hello,
> 
> I am relatively new to R and would like to access the document my pointer

"my pointer"?


> is pointing to in the following line of code.  Need some help.
> 
> #install.packages('xml2')
> library('xml2')
> pg1 <- read_html("www.msn.com")

Error: 'www.msn.com' does not exist in current working directory ('/Users/davidwinsemius').


> str(pg1)
> ptr <- pg1[[2]]
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list