[Rcpp-devel] Installing the C Packages

Slava Razbash slava.razbash at gmail.com
Mon Nov 28 06:34:50 CET 2011


I suggest that you use the R function Rcpp.package.skeleton() to
create a "skeleton package". Then compile a package with your C++/Rcpp
code. Read this pdf:
http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-package.pdf

You could also read Dirk's answer to this question on stack overflow:
http://stackoverflow.com/questions/7735451/how-do-i-compile-a-dll-with-r-and-rcpp

Best Regards,

Slava

On Mon, Nov 28, 2011 at 4:12 PM, Maximilian Metti <mmetti at math.ucsd.edu> wrote:
> Hello, I recently downloaded the Rcpp package and am having some trouble
> installing the libraries for my C++ code.  Getting this package to work in R
> is fine, but there's no installation script to install the Rcpp.h library so
> that I can compile my C code.  I'd appreciate if someone could let me know
> if there are any installation instructions for this.
> Thanks!
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>


More information about the Rcpp-devel mailing list