[R] Evaluation of defaults in functions

hadley wickham h.wickham at gmail.com
Fri Sep 29 04:34:19 CEST 2006


>
> And, to answer the specific question: Yes, R has lazy evaluation,
> everywhere. Arguments are always evaluated if and when they are
> needed.
>

But doesn't R has a rather limited force of lazy evaluation? - you
have no control over it, apart from that arguments are evaluated
lazily.  This rather limited compared to other languages (no lazy
lists etc)

Hadley



More information about the R-help mailing list