[Rcpp-devel] Function arguments to R

soeren.vogel at posteo.ch soeren.vogel at posteo.ch
Mon May 4 15:48:57 CEST 2015


Thanks for the hints and help. This is good news, since the work with Rcpp modules is very easy. Yet, meanwhile I managed to make it work using RcppExports (with the wrapper from the skeleton example). Works charmingly.

Sören

> On 04.05.2015, at 15:35, Dirk Eddelbuettel <edd at debian.org> wrote:
> 
> 
> On 3 May 2015 at 20:04, Dirk Eddelbuettel wrote:
> | Not to sound too flippant but if code and doc are amiss, you could fix either
> | the doc side, or the code side:
> | 
> |  i)   don't document in Rd
> | 
> |  ii)  export myfun() by adding   // [[Rcpp::export]]    above it
> | 
> | There is simply no formal connection between Modules and Rd files.
> 
> Forgot to add that there is hope. 
> 
> RcppR6 by Rich (CC'ed) is the single most credible alternative to using
> Modules, and it "simply" (there is a bit of pre-processing machinery)
> converts into using Attributes.  So at that point your documentation is
> simply the same as for normal functions.
> 
> RcppR6 is not on CRAN yet so we all need to shame Rich into getting it there.
> 
> Dirk
> 
> -- 
> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
> _______________________________________________
> 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