[Rd] tail recursion in R

Gabor Grothendieck ggrothendieck at gmail.com
Wed Nov 15 02:34:59 CET 2006


See:

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/73651.html

On 11/14/06, Ross Boylan <ross at biostat.ucsf.edu> wrote:
> Apparently Scheme is clever and can turn certain apparently recursive
> function calls into into non-recursive evaluations.
>
> Does R do anything like that?  I could find no reference to it in the
> language manual.
>
> What I'm wondering is whether there are desirable ways to express
> recursion in R.
>
> Thanks.
> --
> Ross Boylan                                      wk:  (415) 514-8146
> 185 Berry St #5700                               ross at biostat.ucsf.edu
> Dept of Epidemiology and Biostatistics           fax: (415) 514-8150
> University of California, San Francisco
> San Francisco, CA 94107-1739                     hm:  (415) 550-1062
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list