search for: getnameofcurrentfunct

Displaying 1 result from an estimated 1 matches for "getnameofcurrentfunct".

2009 Jan 20
1
How to get name of current function?
Hello, Is there a way to get the name of the function currently running? I'd like to have something like this x <- function(){ myName <- getNameOfCurrentFunction cat(myName) } so that x() would result in "x" Thanks for any pointers, Joh