Dario,
there is not such thing as S4 function. However, all functions have an
environment and for functions from packages that environment will be the
namespace of the package. So in those special cases you can use
environmentName() to get the name, e.g.:
> who = function(f) cat(deparse(subs
Good day,
I would like to create a concise show method for an S4 class that I am
developing. One class slot stores a function specified by the end user. It
could be a basic function, an S3 function, an S4 function. For S4 functions, I
can get a concise representation:
> capture.output(showMeth