Learn R Programming

AnalysisPageServer (version 1.6.2)

getTraceback: getTraceback

Description

Get traceback from tryKeepTraceback()

Usage

getTraceback(mto)

Arguments

mto
An object of the try-error class

Value

Traceback as a string

Examples

Run this code
x <- tryKeepTraceback(stop("no way"))
if(is(x, "try-error"))  cat(getTraceback(x))

Run the code above in your browser using DataLab