Re: [R] Accessing Pointers

2017-06-22 Thread Roy Mendelssohn - NOAA Federal
Hi Lawrence: > On Jun 22, 2017, at 4:26 PM, David Winsemius wrote: > > > >> 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

Re: [R] Accessing Pointers

2017-06-22 Thread David Winsemius
> On Jun 22, 2017, at 12:52 PM, Lawrence Fomundam 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

[R] Accessing Pointers

2017-06-22 Thread Lawrence Fomundam
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]] ___