dump                  package:base                  R Documentation

_T_e_x_t _R_e_p_r_e_s_e_n_t_a_t_i_o_n_s _o_f _R _O_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function takes a vector of names of R objects and produces
     text representations of the objects in the file `fileout'. This
     file, can be `source'd into another R (or S) session.

_U_s_a_g_e:

     dump(list, fileout="dumpdata")

_D_e_t_a_i_l_s:

     At present the implementation of `dump' is very incomplete and it
     really only works for functions and simple vectors.

     The function `save' is designed to be used for transporting R data
     between machines.

_S_e_e _A_l_s_o:

     `dput', `dget',`write'.

_E_x_a_m_p_l_e_s:

     x <- 1; y <- 1:10
     dump(ls(patt='^[xyz]'), "xyz.Rdmped")
     unlink("xyz.Rdmped")

