R: getting a function name as a string
Posted
by HamiltonUlmer
on Stack Overflow
See other posts from Stack Overflow
or by HamiltonUlmer
Published on 2009-10-14T17:14:22Z
Indexed on
2010/04/15
8:13 UTC
Read the original article
Hit count: 191
r
Say I have a bunch of functions, each with something likeMyFunction.1
, etc. I want to pass these functions into another function, which prints out a small report. Ideally I'd like to be able to label sections of a report by which function is being used to generate the results.
So are there any nice ways of getting the name of a predefined function as a string?
© Stack Overflow or respective owner