From dsamperi at DecisionSynergy.com  Sat Oct 28 18:56:37 2006
From: dsamperi at DecisionSynergy.com (Dominick Samperi)
Date: Sat, 28 Oct 2006 12:56:37 -0400
Subject: [Rd] What can be effectively implemented in R vs C/C++?
Message-ID: <45438BC5.6020205@DecisionSynergy.com>

I have found that many numerical algorithms run much more
quickly when implemented in C/C++ than when implemented
as an R function, and this is not surprising, of course, because
R is an interpreted language. In particular, recursive R functions
seem to run very slowly.

Are there any general guidelines about what can be
effectively implemented as an R function vs what is best
implemented in C/C++, with R used as a front-end?

Thanks,
ds




[Rd] What can be effectively implemented in R vs C/C++?
Dominick Samperi