Re: [Rd] Which packages in R use C++?

From: Dirk Eddelbuettel <>
Date: Thu, 10 Dec 2009 15:16:04 -0600

On 10 December 2009 at 15:02, Peng Yu wrote:
| I want to see some working examples on how to call C++ programs from
| R. Could somebody let me know which R packages mainly use C++ rather
| than C or Fortran?

I am not aware of anyone keeping aggregate statistics.

If you would like a simple example of C++ usage --- via the Rcpp package I maintain --- then I'd recommend the Earth Mover Distance package on R-Forge which wraps a single function providing the Earth Mover Distance metric:

and the SVN sources are here

A more complicated example is e.g. RQuantLib on R-Forge and CRAN.


Three out of two people have difficulties with fractions.

______________________________________________ mailing list
Received on Thu 10 Dec 2009 - 21:20:16 GMT

This archive was generated by hypermail 2.2.0 : Fri 11 Dec 2009 - 14:16:05 GMT