| WRITE {arules} | R Documentation |
Provides the generic function WRITE and the S4 methods to
write transactions or associations to disk.
WRITE(x, ...)
x |
the object. |
... |
further arguments passed on to write.table. |
WRITE first uses coercion to data.frame to obtain a printable form of
x and then uses write.table to write the data to disk.
write.table (in base),
transactions-class,
associations-class
data("Epub")
### write the formated result to screen
WRITE(Epub[1:5])
### write the formated result to file
WRITE(Epub[1:5], file = "data")
unlink("data") # tidy up