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)

