powered by
Writes the data frame to a file in the XML format.
write.xml(data, file = NULL, collapse = TRUE)
None
the data frame object to save
the file name to be written to.
logical. Should the output file be collapsed to make it fill less? (Defaults to TRUE)
Claus Ekstrom, claus@rprimer.dk based on previous work by Duncan Temple Lang.
This function does not require the XML package to be installed to function properly.
if (FALSE) { data(trees) write.xml(trees, file="mydata.xml") }
Run the code above in your browser using DataLab