Re: [Rd] tail recursion in R

2006-11-14 Thread Gabor Grothendieck
See: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/73651.html On 11/14/06, Ross Boylan <[EMAIL PROTECTED]> 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 refe

[Rd] tail recursion in R

2006-11-14 Thread Ross Boylan
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. Thank