0
J'obtiens l'erreur suivante à extraire webdata de cricinfoerreur dans l'analyse syntaxique HTML dans R
> #Set internet
> Setinternet2=TRUE
>
> #Loading Libraries
> library(XML)
> library(tm)
> library(RCurl)
>
> #URL
> URL="http://stats.espncricinfo.com/ci/engine/records/batting/most_runs_career.html?class=1;id=2010;type=year"
>
> #HTML parsing
> List=htmlParse(URL)
Error in htmlParse(URL) :
error in creating parser for http://stats.espncricinfo.com/ci/engine/records/batting/most_runs_career.html?class=1;id=2010;type=year
>
Toute idée comment résoudre ce problème?
Fonctionne pour moi. Quand je dis «fonctionne», je veux dire que je reçois tout un tas de messages htmlEntityParseRef, des discordances de balises, et un tas d'autres avertissements. Est-ce que les exemples dans help (htmlParse) fonctionnent? – Spacedman