I am working with some XML data in R and running into errors regarding type \'externalptr\'.
1) I get the following error when I try to use the xmlInternalTreeParse()
I managed to write the content of an XML tree to a file using the saveXML() command from the XML package:
saveXML()
XML
saveXML(xml[[1]], file="output.xml")
Hope this helps.