powered by
Writes the data frame to a file in the XML format.
write.xml(data, file = NULL, collapse = TRUE)
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)
None
This function does not require the XML package to be installed to function properly.
# NOT RUN { # } # NOT RUN { data(trees) write.xml(trees, file="mydata.xml") # } # NOT RUN { # }
Run the code above in your browser using DataLab