Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write.arff

Write Data into ARFF Files


Description

Writes data into Weka Attribute-Relation File Format (ARFF) files.

Usage

write.arff(x, file, eol = "\n")

Arguments

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).

References

See Also

Examples

write.arff(iris, file = "")

RWeka

R/Weka Interface

v0.4-43
GPL-2
Authors
Kurt Hornik [aut, cre] (<https://orcid.org/0000-0003-4198-9911>), Christian Buchta [ctb], Torsten Hothorn [ctb], Alexandros Karatzoglou [ctb], David Meyer [ctb], Achim Zeileis [ctb] (<https://orcid.org/0000-0003-0918-3766>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.