[R] read htm table error

arun smartpink111 at yahoo.com
Thu Aug 9 14:20:50 CEST 2012


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" <Kiung.Lay at sensis.com.au>
To: "r-help at R-project.org" <r-help at r-project.org>
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]]

______________________________________________
R-help at r-project.org 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.




More information about the R-help mailing list