write.arff(x, file, eol = "")
- x
{the data to be written, preferably a matrix or data frame.
If not, coercion to a data frame is attempted.}
- file
{either a character string naming a file, or a connection.
""
indicates output to the standard output connection.}
- eol
{the character(s) to print at the end of each line (row).}
Attribute-Relation File Format
http://www.cs.waikato.ac.nz/~ml/weka/arff.html
read.arff
,
write.table
data("iris")
write.arff(iris, file = "")
print
file