Learn R Programming

kulife (version 0.1-14)

write.xml: Write a data frame in XML format

Description

Writes the data frame to a file in the XML format.

Usage

write.xml(data, file = NULL)

Arguments

data
the data frame object to save.
file
a file name to be written to.

Value

NULL

Details

This function requires the XML package to be installed to function properly.

Examples

Run this code
data(trees)
write.xml(trees, file="mydata.xml")

Run the code above in your browser using DataLab