Hi,

Can someone help me understand 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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to