From armstrong.whit at gmail.com  Fri Dec 11 14:06:11 2009
From: armstrong.whit at gmail.com (Whit Armstrong)
Date: Fri, 11 Dec 2009 08:06:11 -0500
Subject: [Rd] Which packages in R use C++?
In-Reply-To: <19233.25876.540878.45388@ron.nulle.part>
References: <366c6f340912101302h693f99e7m8bbaa29975c879fa@mail.gmail.com>
	<19233.25876.540878.45388@ron.nulle.part>
Message-ID: <8ec76080912110506j26b8d05cg4425e7cd6a61fa01@mail.gmail.com>

and fts, making heavy use of templates for R types:

http://github.com/armstrtw/fts

-Whit


On Thu, Dec 10, 2009 at 4:16 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> 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
>



[Rd] Which packages in R use C++?
Whit Armstrong