write.xml | R Documentation |
Writes the data frame to a file in the XML format.
write.xml(data, file = NULL, collapse = TRUE)
data |
the data frame object to save |
file |
the file name to be written to. |
collapse |
logical. Should the output file be collapsed to make it fill less? (Defaults to TRUE) |
This function does not require the XML package to be installed to function properly.
None
Claus Ekstrom, claus@rprimer.dk based on previous work by Duncan Temple Lang.
## Not run:
data(trees)
write.xml(trees, file="mydata.xml")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.