Skip to content
Prev 157460 / 398506 Next

example - export a data frame to an XML file

In need of exporting an XML file from R, I scrub some data in R and push 
the data into another application requiring XML.  The data set is a very 
straightforward data frame of stock prices- see below.  I know the 
package XML is the one to use, but need an example or some direction on 
where to start.  I know we need to define the schema - can this be done 
in the R XML package?