fix                  package:utils                  R Documentation

_F_i_x _a_n _O_b_j_e_c_t

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

     'fix' invokes 'edit' on 'x' and then assigns the new (edited)
     version of 'x' in the user's workspace.

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

     fix(x, ...)

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

       x: the name of an R object, as a name or a character string.

     ...: arguments to pass to editor: see 'edit'.

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

     The name supplied as 'x' need not exist as an R object, in  which
     case a function with no arguments and an empty body is supplied 
     for editing.

     Editing an R object may change it in ways other than are obvious:
     see the comment under 'edit'.  See 'edit.data.frame' for changes
     that can occur when editing a data frame or matrix.

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

     'edit', 'edit.data.frame'

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

     ## Not run: 
      ## Assume 'my.fun' is a user defined function :
      fix(my.fun)
      ## now my.fun is changed
      ## Also,
      fix(my.data.frame) # calls up data editor
      fix(my.data.frame, factor.mode="char") # use of ...
     ## End(Not run)

