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")

