[R] catching the warnings

Marc Mamin M.Mamin at intershop.de
Thu Jun 3 14:18:46 CEST 2004


Hello,

I'd like to catch the warnings in a variable in order to evaluate them, but...


> tt<-warnings()
Warning messages:
1: XML Parsing Error: test.xml:2: xmlParseStartTag: invalid element name
2: XML Parsing Error: test.xml:3: Extra content at the end of the document
> tt
NULL

is there a way to achieve this (R1.8.1)?

thanks,

Marc




More information about the R-help mailing list