R.utils (version 1.3.2)

findSourceTraceback: Finds all 'srcfile' objects generated by source() in all call frames

Description

Finds all 'srcfile' objects generated by source() in all call frames. This makes it possible to find out which files are currently scripted by source().

Usage

## S3 method for class 'default':
findSourceTraceback(...)

Arguments

...
Not used.

Value

  • Returns a named list of objects of class 'srcfile'. The names of the list entries corresponds to the 'filename' value of each corresponding 'srcfile' object. The returned list is empty if source() was not called.