Re: [R] question about the "Y of R" article in the latest R news

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sat, 08 Nov 2008 17:14:41 -0500

On Sat, Nov 8, 2008 at 5:09 PM, Mark Kimpel <mwkimpel_at_gmail.com> wrote:
> I found the article the "Y of R" in the latest R news to be very
> interesting. It is certainly challenging me to learn more about how R works
> "under the hood" as the author states. What is less clear to me is whether
> this approach is primarily for teaching purposes or has a real world
> application. What is meant by "fragility of reliance on the function
> name defined as a global variable" as a downside to the classical recursive
> formulation of function "s"? How can that impact the average R programmer?

The entire sentence is:
"We can avoid the fragility of reliance on the function name defined as a global variable, by invoking the function through Recall instead of using selfreference." so he is referring to the fact that if one self-references the function by name then renaming the function causes it to no longer work. That is there is fragile dependence on the function name. He points out that the R function, Recall, can be used to avoid that.



R-help_at_r-project.org 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. Received on Sat 08 Nov 2008 - 22:18:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 08 Nov 2008 - 23:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive