HI,

I am using R 2.15 in Ubuntu 12.04.  It works fine for me.

library(XML)
theurl <- "http://en.wikipedia.org/wiki/Brazil_national_football_team";
tables <- readHTMLTable(theurl)

A.K.

----- Original Message -----
From: "Lay, Kiung" <[email protected]>
To: "[email protected]" <[email protected]>
Cc: 
Sent: Thursday, August 9, 2012 2:55 AM
Subject: [R] read htm table error


Hi I am using Version R 2.15 and I haven't been able read html table. Following 
is my code and error message.
Error in htmlParse(doc) :
  error in creating parser for 
http://en.wikipedia.org/wiki/Brazil_national_football_team

theurl <- "http://en.wikipedia.org/wiki/Brazil_national_football_team";
tables <- readHTMLTable(theurl)

Regards,
Kiung

    [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
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.


______________________________________________
[email protected] mailing list
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.

Reply via email to