Re: [R] XML write?

From: Alberto Monteiro <albmont_at_centroin.com.br>
Date: Tue, 29 Apr 2008 12:20:21 -0200

Gabor Grothendieck wrote:
>
> By write, do you mean print?
>
No, I mean "save to a file".

I solved the problem with this:

library(XML)
x <- xmlTreeParse("Irpf2008/aplicacao/dados/12345678901/12345678901.xml") sink("ihatetheirs.xls")
print(x)
sink()

and then I can edit the saved file to cut some extra information not-xml related (and do what I want - again, sorry for the foul language).

Alberto Monteiro



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. Received on Tue 29 Apr 2008 - 14:58:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Apr 2008 - 16:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive