On 19 November 2008 at 18:44, Rainer M Krug wrote:
| I looked in the "writing R extensions" and also into package.skeleton,
| but could not find anything:
| 
| I am looking for a skeleton or simple example on how to create a
| package which contains C++ code.
| 
| I only want to implement one function, so nothing complicated. The
| idea is to use the package to make it easier to install the function
| on several Linux computers - no windows required at the moment.

Yes, the Rcpp package from CRAN.  Start with   

    help("Rcpp-package", package="Rcpp")   

Comments on where the documentation is not clear are welcome.

More about Rcpp is e.g. at http://dirk.eddelbuettel.com/code/rcpp.html 

Dirk

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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to