From ross at biostat.ucsf.edu  Wed Nov 15 02:02:34 2006
From: ross at biostat.ucsf.edu (Ross Boylan)
Date: Wed, 15 Nov 2006 01:02:34 +0000
Subject: [Rd] tail recursion in R
Message-ID: <1163552554.653.52.camel@iron.psg.net>

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



[Rd] tail recursion in R
Ross Boylan