Re: [R] XML write?

From: Jeffrey Horner <jeff.horner_at_vanderbilt.edu>
Date: Tue, 29 Apr 2008 09:02:40 -0500

Alberto Monteiro wrote on 04/29/2008 08:37 AM:
> Is there any function to write a XML structure, after it was
> read using xmlTreeParse?
>
> Ex:
> library(XML)
> x <- xmlTreeParse("Irpf2008/aplicacao/dados/12345678901/12345678901.xml")
> # write it...

Calling:

library(help=XML) # or
help(package=XML)

lists all the functions from the XML package, and saveXML seems to be what you want.

I remember having difficulty finding these functions (for listing package contents) when I first learned R, and perusing the posting guide did mention them in relation to properly posting info about surprising behavior and bugs. Maybe a new list item can be added under "Do your homework before posting", something like:

Best,

Jeff

>
> Alberto Monteiro
>
> PS: please, brazilians, don't be offended by my foul language!
>
> ______________________________________________
> 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.

-- 
http://biostat.mc.vanderbilt.edu/JeffreyHorner

______________________________________________
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:43:34 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 - 15: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