A Faster 'ARFF' File Reader and Writer

Reads and writes 'ARFF' files. 'ARFF' (Attribute-Relation File Format) files are like 'CSV' files, with a little bit of added meta information in a header and standardized NA values. They are quite often used for machine learning data sets and were introduced for the 'WEKA' machine learning 'Java' toolbox. See < http://weka.wikispaces.com/ARFF> for further info on 'ARFF' and for < http://www.cs.waikato.ac.nz/ml/weka/> for more info on 'WEKA'. 'farff' gets rid of the 'Java' dependency that 'RWeka' enforces, and it is at least a faster reader (for bigger files). It uses 'readr' as parser back-end for the data section of the 'ARFF' file. Consistency with 'RWeka' is tested on 'Github' and 'Travis CI' with hundreds of 'ARFF' files from 'OpenML'. Note that the 'OpenML' package is currently only available from 'Github' at: < https://github.com/openml/openml-r>.


farff 1.1:

  • Fixed segmentation fault in readARFF caused by a leading tilde in the path to the arff file
  • Increased internal buffer sizes used to parse the header of arff files

farff 1.0:

  • Initial release to CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1 by Bernd Bischl, 2 years ago


Report a bug at https://github.com/mlr-org/farff/issues

Browse source code at https://github.com/cran/farff

Authors: Bernd Bischl [aut, cre] , Jakob Bossek [aut]

Documentation:   PDF Manual  

BSD_2_clause + file LICENSE license

Imports BBmisc, checkmate, stringi, readr

Suggests RWeka, testthat, OpenML

Suggested by OpenML, mlr3oml.

See at CRAN