[R] Functions within functions in R and S-Plus

Thomas Lumley tlumley at u.washington.edu
Tue Jun 7 21:46:23 CEST 2005


On Tue, 7 Jun 2005, Liaw, Andy wrote:

> The easiest way, perhaps, is to assign the internal functions to frame 1:
>

Another easy way is to use the MC() function in section 3.3.1 of the R 
FAQ, which makes function closures in a way that works in S-PLUS.

 	-thomas




More information about the R-help mailing list