Skip to content
Prev 261544 / 398502 Next

retrieving name of a function inside this function

On 11-06-01 7:26 AM, Jannis wrote:
I'm not sure I understand what you're asking, but I think the answer is 
no.  You can retrieve the name of a function by calling sys.call() (or a 
related function for more information, see ?sys.call), but that has to 
be called in the context of the function.  The information is not stored 
in the active environment, you'll need to save more than that.  I think 
sys.calls() will give you the information you need.

Duncan Murdoch