

dput {base}                                  R Documentation

_W_r_i_t_e _a_n _I_n_t_e_r_n_a_l _O_b_j_e_c_t _t_o _a _F_i_l_e

_U_s_a_g_e_:

     dput(x, file = "")
     dget(file)

_V_a_l_u_e_:

     `dput' opens `file' and deparses the object `x' into
     that file.  The object name is not written (contrary to
     `dump').  If `x' is a function the associated environ-
     ment is stripped.  Hence scoping information can be
     lost.

     Using `dget', the object can be recreated (with the
     limitations mentioned above).

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

     `deparse', `dump', `write'.

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

     ## Write an ASCII version of mean to the file "foo"
     dput(mean, "foo")
     ## And read it back into `bar'
     bar <- dget("foo")

