> > 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 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.