browser                 package:base                 R Documentation

_E_n_v_i_r_o_n_m_e_n_t _B_r_o_w_s_e_r

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

     Interrupt the execution of an expression and allow the inspection
     of the environment where `browser' was called from.

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

     browser()

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

     A call to `browser' causes a pause in the execution of the current
     expression and runs a copy of the R interpreter which has access
     to variables local to the environment where the call took place.

     Local variables can be listed with `ls', and manipulated with R
     expressions typed to this sub-interpreter.  The interpreter copy
     is exited by typing `c'.  Execution then resumes at the statement
     following the call to `browser'.

     Typing `n' causes the step-through-debugger, to start and it is
     possible to step through the remainder of the function one line at
     a time.

     Typing `Q' quits the current execution and returns you to the
     top-level prompt.

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

     `debug', and `traceback' for the stack on error.

