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

From: Dirk Eddelbuettel <edd_at_debian.org>
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:

 https://r-forge.r-project.org/projects/earthmovdist/

and the SVN sources are here

 https://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/?root=earthmovdist

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

Dirk

-- 
Three out of two people have difficulties with fractions.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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