[Rcpp-devel] Local .h files and Rcpp attributes

Dirk Eddelbuettel edd at debian.org
Sat Oct 19 21:37:32 CEST 2013


On 19 October 2013 at 15:14, JJ Allaire wrote:
|     RcppExports.cpp will automatically include a .h that has the same name as
|     the package and is located in inst/include, iirc.

Hah! 
 
| This is indeed the current solution to the problem of typedefs, however I admin
| that it's a bit difficult to take advantage of without wading through
| documentation and/or the mailing list. 

Maybe you could follow the example of Rcpp.package.skeleton() and just drop
an empty yet amply commented file there?  By "being there" users have a
better chance of stumbling over it :)

Dirk

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


More information about the Rcpp-devel mailing list