On Thu, 18 Mar 2004, Gabor Grothendieck wrote:
>
> I am not sure where this came from about not operating on functions.
> Are you sure?  I know just about everyone is saying this but
> the help page does not refer to that and the
> example I gave where we do use list(f=f) for f a function does
> seem to expand properly (see my last posting) although
> the subsitution never appears to take effect.
>

Yes, I am sure.

It's not that it is invalid to have a function as the first argument of
substitute, it's that substitute() does not recurse into either the body
or the formal arguments of the function (or into the environment, though
no-one would expect that).


        -thomas

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to