Displaying 1 result from an estimated 1 matches for "r39255".
Did you mean:
139255
2006 Sep 14
1
Question about substitute() and function def
...tand why
substitute(function(a) a + 1, list(a=quote(foo)))
gives
function(a) foo + 1
and not
function(foo) foo + 1
The man page leads me to believe this is related to lazy evaluation of
function arguments, but I'm not getting the big picture.
Thanks,
+ seth
Using R 2.4 alpha svn r39255