Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read .arff file with R?

Tags:

r

arff

Is there any way to do that?

Yes, i'm new to R.

like image 851
Ilya Smagin Avatar asked Sep 25 '11 20:09

Ilya Smagin


People also ask

How do I open ARFF files in R?

The easiest way to do it is using the "RWeka" library which has read. arff() function that reads . arff files.

How do I open a .arff file?

If you cannot open your ARFF file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a ARFF file directly in the browser: Just drag the file onto this browser window and drop it.

What type of file is arff?

An ARFF (Attribute-Relation File Format) file is an ASCII text file that describes a list of instances sharing a set of attributes. ARFF files were developed by the Machine Learning Project at the Department of Computer Science of The University of Waikato for use with the Weka machine learning software.


1 Answers

read.arff in package foreign reads data from Weka Attribute-Relation File Format (ARFF) files.

Update: there is a new package on CRAN:

farff: A Faster 'ARFF' File Reader and Writer

like image 117
rcs Avatar answered Oct 15 '22 23:10

rcs