editAsText          package:plotAndPlayGTK          R Documentation

_E_d_i_t _a _d_a_t_a _f_r_a_m_e _i_n _s_p_r_e_a_d_s_h_e_e_t-_c_o_m_p_a_t_i_b_l_e _f_o_r_m_a_t

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

     This is analogous to 'edit.data.frame', but rather than a
     spreadsheet-like table, it writes the data in flat text format
     (tab-delimited) into a text box, and reads it back after editing.
     It is more difficult to read than a table, but it has the
     advantage of being able to  copy and paste to/from an external
     spreadsheet program.

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

     editAsText(x, title = NULL, edit.row.names = any(row.names(x) != 1:nrow(x)))

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

       x: a 'data.frame'. 

   title: the window title. For 'editAsText' the default is based on
          'x'. 

edit.row.names: whether to include row names as an editable column. 

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

     If the number of rows changes a warning is issued.

     New factor levels can not be added. Factor levels not in the
     original set will be NA.

_V_a_l_u_e:

     'editAsText' returns a data frame, which should have the same
     column types as 'x'.

_A_u_t_h_o_r(_s):

     Felix Andrews felix@nfrac.org

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

     'edit.data.frame', 'edit', 'read.delim'

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

     ## Not run: 

     str(iris)
     str(editAsText(iris))

     ## End(Not run)

