trace                  package:base                  R Documentation

_T_r_a_c_e _A_l_l _C_a_l_l_s _t_o _a _F_u_n_c_t_i_o_n.

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

     These are both in very primitive form. If `trace' is called the
     function named is marked and each time it is entered the call is
     printed on the console. To stop tracing a function use `untrace'.

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

     trace(fun)
     untrace(fun)

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

     fun: any interpreted R function (not quoted).

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

     `debug'.

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

     trace(names)
     data.frame(x=1:2, y=3:4)
     untrace(names)

