writeARFF {farff} | R Documentation |
Write ARFF data.frame to ARFF file.
Description
Internally uses write.table
and is therefore not much faster
than RWeka's write.arff
. Moreover, for large data
(> 1e6 rows) the date frame is written out in chunks of 1e6 lines to speed
up the write process.
Usage
writeARFF(
x,
path,
overwrite = FALSE,
chunk.size = 1e+06,
relation = deparse(substitute(x))
)
Arguments
x |
[ |
path |
[ |
overwrite |
[ |
chunk.size |
[ |
relation |
[ |
Value
Nothing.
Note
Logical columns in R are converted to categorical attributes in ARFF with levels “TRUE” and “FALSE”.
Examples
# see readARFF