farff: A Faster 'ARFF' File Reader and Writer

Share:

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

Author
Bernd Bischl [aut, cre], Jakob Bossek [aut]
Date of publication
2016-09-11 00:22:21
Maintainer
Bernd Bischl <bernd_bischl@gmx.net>
License
BSD_2_clause + file LICENSE
Version
1.0
URLs

View on CRAN

Man pages

readARFF
Read ARFF file into data.frame.
writeARFF
Write ARFF data.frame to ARFF file.

Files in this package

farff
farff/inst
farff/inst/arffs
farff/inst/arffs/audiology.arff
farff/inst/arffs/many_types.arff
farff/inst/arffs/dataset_1438_accelerometer.arff
farff/inst/arffs/string_special_chars.arff
farff/inst/arffs/quotes_in_factor_levels.arff
farff/inst/arffs/anneal.arff
farff/inst/arffs/dates.arff
farff/inst/arffs/iris.arff
farff/inst/arffs/house.arff
farff/inst/arffs/dataset_34_postoperative-patient-data.arff
farff/inst/arffs/kr-vs-kp.arff
farff/tests
farff/tests/run-all.R
farff/tests/testthat
farff/tests/testthat/test_oml_long.R
farff/tests/testthat/test_quick.R
farff/tests/testthat/helper.R
farff/tests/testthat/test_parseFactorLevels.R
farff/tests/testthat/test_oml_short.R
farff/src
farff/src/tools.h
farff/src/tools.c
farff/src/preproc_readr.c
farff/src/preproc_datatable.c
farff/NAMESPACE
farff/NEWS.md
farff/R
farff/R/writeARFF.R
farff/R/readARFF.R
farff/R/helpers.R
farff/R/parseFactorLevels.R
farff/R/parseHeader.R
farff/R/zzz.R
farff/MD5
farff/DESCRIPTION
farff/man
farff/man/writeARFF.Rd
farff/man/readARFF.Rd
farff/LICENSE