write.xml: Write a data frame in XML format

Description Usage Arguments Details Value Author(s) Examples

View source: R/writexml.R

Description

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

Usage

1
write.xml(data, file = NULL, collapse = TRUE)

Arguments

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)

Details

This function does not require the XML package to be installed to function properly.

Value

None

Author(s)

Claus Ekstrom, claus@rprimer.dk based on previous work by Duncan Temple Lang.

Examples

1
2
data(trees)
write.xml(trees, file="mydata.xml")

MESS documentation built on May 29, 2017, 2:39 p.m.

Search within the MESS package
Search all R packages, documentation and source code