Displaying 1 result from an estimated 1 matches for "callbyf2".
Did you mean:
callbuf
2006 Jun 19
2
function call
Dear R-users,
When a function f1() is called, is there a way to know,
from inside the function f1(), if f1() is directly called from the
R console, or indirectly from another function f2() ?
Of course, I may add an argument to f1(..., callbyf2=FALSE) only used
by f2() giving explicitely this info, but I would like to know
if there may be a more generic way ?
Thanks for any info or pointer