I'm using the function htmlParse() in the XML package, and I need a
little bit help on error handling while parsing an HTML page. So far I
can use either the default way:
# error = xmlErrorCumulator(), by default
library(XML)
doc = htmlParse(http://www.public.iastate.edu/~pdixon/stat500/;)
# the
Hi Yihui
It took me a moment to see the error message as the latest
development version of the XML package suppresses/hides them by default
for htmlParse().
You can provide your own function via the error parameter.
If you just want to see more detailed error messages on the console
you can
2 matches
Mail list logo