read.arff {RWeka}R Documentation

Read Data from ARFF Files

Description

Reads data from Weka Attribute-Relation File Format (ARFF) files.

Usage

read.arff(file)

Arguments

file a character string with the name of the ARFF file to read from, or a connection which will be opened if necessary, and if so closed at the end of the function call.

Value

A data frame containing the data from the ARFF file.

References

Attribute-Relation File Format http://www.cs.waikato.ac.nz/~ml/weka/arff.html

See Also

write.arff

Examples

read.arff(system.file("arff", "contact-lenses.arff",
                      package = "RWeka"))

[Package RWeka version 0.3-16 Index]