[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-devel
Subject:    [Rd] What can be effectively implemented in R vs C/C++?
From:       Dominick Samperi <dsamperi () decisionsynergy ! com>
Date:       2006-10-28 16:56:37
Message-ID: 45438BC5.6020205 () DecisionSynergy ! com
[Download RAW message or body]

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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic