powered by
write.xml(data, file = NULL, collapse = TRUE)
data(trees) write.xml(trees, file="mydata.xml")
Run the code above in your browser using DataLab