vwc.tracebacks {AnalysisPageServer} | R Documentation |
Return traceback(s) for an AnalysisPageValueWithConditions
vwc.tracebacks(vwc, type = "messages")
vwc |
AnalysisPageValueWithConditions |
type |
Type of conditions. Must be "messages", "warnings" or "error".
Default: "messages". A (new) error is thrown if type is "error" but
the |
Return traceback(s) for an AnalysisPageValueWithConditions
For "messages" or "warnings" it gives
a list of Charvecs of tracebacks, as built by getTraceback
.
For "error" it only gives a single charvec, since there is only one error.
Brad Friedman
f <- function(msg) { warning(msg) } vwc <- tryKeepConditions({ f("foo") f("bar") }) vwc.tracebacks(vwc, "warnings")