Skip to content
Prev 269029 / 398502 Next

problem deparsing argument

On Aug 18, 2011, at 5:11 PM, Ernest Adrogu? wrote:

            
> bar <- function(x) class(substitute(foo(x)))
 > bar(a)
[1] "call

So...

 > bar <- function(x) substitute(foo(x))[[2]]
 > bar(a)
a