Rev 4181 | Rev 27625 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{browser}\alias{browser}\title{Environment Browser}\description{Interrupt the execution of an expression and allow the inspection ofthe environment where \code{browser} was called from.}\usage{browser()}\details{A call to \code{browser} causes a pause in the execution of thecurrent expression and runs a copy of the \R interpreter which hasaccess to variables local to the environment where the call tookplace.Local variables can be listed with \code{ls}, and manipulated with \Rexpressions typed to this sub-interpreter. The interpreter copy isexited by typing \code{c}. Execution then resumes at the statementfollowing the call to \code{browser}.Typing \code{n} causes the step-through-debugger, to start and it ispossible to step through the remainder of the function one line at atime.Typing \code{Q} quits the current execution and returns you to thetop-level prompt.}\seealso{\code{\link{debug}}, and\code{\link{traceback}} for the stack on error.}\keyword{programming}\keyword{environment}