From ggrothendieck at gmail.com  Wed Nov 15 02:34:59 2006
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Tue, 14 Nov 2006 20:34:59 -0500
Subject: [Rd] tail recursion in R
In-Reply-To: <1163552554.653.52.camel@iron.psg.net>
References: <1163552554.653.52.camel@iron.psg.net>
Message-ID: <971536df0611141734k58622fd3pce7e9b80c90342bf@mail.gmail.com>

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
>



[Rd] tail recursion in R
Gabor Grothendieck