Hi Ravi,
I used the same code.? Didn't got any errors.? I am using R.2.15 (64 bit
version) on a 64 bit linux.? Though, I admit I had trouble installing XML
package which was later solved by installing libxml2.
A.k.
? ??
----- Original Message -----
From: vioravis <vioravis at gmail.com>
To: r-help at r-project.org
Cc:
Sent: Monday, May 21, 2012 8:20 AM
Subject: [R] htmlParse Error
I am trying to parse a webpage using the htmlParse command in XML package as
follows:
library(XML)
u = "http://en.wikipedia.org/wiki/World_population"
doc = htmlParse(u)
I get the following error:
Error in htmlParse(u) :
? error in creating parser for http://en.wikipedia.org/wiki/World_population
I am using a R 2.13.1 (32 bit version) on a 64 bit Windows. (I tried
installing it in 64 bit version of R but getting an error that the previous
version cannot be removed)
Can someone please help with how to resolve this issue?
Thank you.
Ravi
--
View this message in context:
http://r.789695.n4.nabble.com/htmlParse-Error-tp4630738.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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.