WRITE {arules}R Documentation

Writes transactions or associations to disk

Description

Provides the generic function WRITE and the S4 methods to write transactions or associations to disk.

Usage

WRITE(x, ...)

Arguments

x the object.
... further arguments passed on to write.table.

Details

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.

See Also

write.table (in base), transactions-class, associations-class

Examples

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


[Package arules version 0.6-0 Index]