WRITE                 package:arules                 R Documentation

_W_r_i_t_e_s _t_r_a_n_s_a_c_t_i_o_n_s _o_r _a_s_s_o_c_i_a_t_i_o_n_s _t_o _d_i_s_k

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     WRITE(x, ...)

_A_r_g_u_m_e_n_t_s:

       x: the object.

     ...: further arguments passed on to 'write.table'.

_D_e_t_a_i_l_s:

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

_S_e_e _A_l_s_o:

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

_E_x_a_m_p_l_e_s:

     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

