[Rcpp-devel] Template instantiation of commonly-used types

Dirk Eddelbuettel edd at debian.org
Wed Oct 15 20:52:04 CEST 2014


On 15 October 2014 at 11:17, Kevin Thornton wrote:
| 
| On Oct 15, 2014, at 11:01 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
| 
| > 
| > On 15 October 2014 at 10:28, Kevin Thornton wrote:
| > | I should clarify: those git gist are the "git clone" links.  Here are the direct links for viewing:
| > | 
| > | The .h: https://gist.github.com/molpopgen/5180d60689fa8d6cb353
| > | 
| > | The .cpp: https://gist.github.com/molpopgen/c13135659e0b27421a3a
| > 
| > Could you give it a spin and actually try how R CMD check behaves if you do
| > that?  And/or check how any of the Rcpp dependents behaves?  Maybe give
| > numbers for the gain in compilation you try to achieve?
| > 
| > If it does work we can surely condition via configure on the appropriate
| > compiler and version.
| > 
| 
| I can try, but getting the .cpp to compile is a chore (for me).  I'm having to work out the code structure of the entire package. 

I am not sure how familiar you are with R, and R packages but most of us
generally do

   cd ..              # out of the repo directory containing DESCRIPTION, src, ...
   R CMD build rcpp   # assuming your repo directory is called rcpp/
   R CMD check Rcpp_0.11.3.4.tar.gz    # or whatever versioning comes from DESCRIPTION

which isn't all that terribly involved.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list