Skip to content
Prev 269553 / 398502 Next

debugging functions in R

On Wed, Aug 24, 2011 at 4:20 PM, Eran Eidinger <eran at taykey.com> wrote:
My solution when I run into mysteries like this is to put 'browser()' in the
function just before or after the line of interest. The magnitude and direction
of my stupidity usually become clear quickly.
   -- Patrick Burns
      R-help (February 2006)


Use browser() to inspect the environment and execute the code one step
at a time.
Liviu