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

From: Thomas Lumley <tlumley_at_u.washington.edu>
Date: Wed 08 Jun 2005 - 05:46:23 EST

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



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 Received on Wed Jun 08 05:52:01 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:27 EST