[R] Accessing Pointers

Lawrence Fomundam lawfom at gmail.com
Thu Jun 22 21:52:27 CEST 2017


Hello,

I am relatively new to R and would like to access the document 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")
str(pg1)
ptr <- pg1[[2]]

	[[alternative HTML version deleted]]



More information about the R-help mailing list