

   PPrriinntt CCaallll SSttaacckk ooff LLaasstt EErrrroorr

        traceback()

   DDeessccrriippttiioonn::

        `traceback' prints the call stack of the last error,
        i.e., the sequence of calls that lead to the error.
        This is useful when an error occurs with an unidentifi-
        able error message.

   EExxaammpplleess::

        foo <- function(x) { print(1); bar(2) }
        bar <- function(x) { x + a.variable.which.does.not.exist }
        foo(2) # gives a strange error
        traceback()
        ## [1] "bar(2)" "foo(2)"
        bar
        ## Ah, this is the culprit ...

