[Rcpp-devel] Shared code in C++ files

Dirk Eddelbuettel edd at debian.org
Wed Apr 13 23:34:09 CEST 2016


Martin,

Please please please look into creating a package.

If you use RStudio:  File -> New Project -> (New or Existing) Directory ->
Package and then select Rcpp.

If not, consider install the (very tiny) pkgKitten package and call
Rcpp.package.skeleton() from Rcpp itself (but enhanced by pkgKitten if
present) for a saner package.

Cheers, Dirk

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


More information about the Rcpp-devel mailing list