Transforms a list returned by sys.calls into a vector of strings that looks like a result of traceback()

Description

Transforms a list returned by sys.calls into a vector of strings that looks like a result of traceback()

Usage

1
  calls.to.trace(calls, max.lines = 4)

Arguments

calls

a list of calls, e.g. returned by sys.calls

max.lines

as in traceback()

Value

a character vector with one element for each call formated in a similar fashion as traceback() does