[Rcpp-devel] Modules + Attributes for extensions
fernandohtoledo at gmail.com
fernandohtoledo at gmail.com
Wed Mar 7 15:59:46 CET 2018
Dear Ralf and others,
Thanks for your reply. I did looked for the references you pointed
before. Unfortunately, there is nothing new in the Extending vignette
than what can be found in Dirk's book chapter. Basically, all the
others implement custom as/wrap for third part classes to SEXP
fundamental types.
Perhaps, I didn't state the question clearly... : Given my own class
exposed through Modules, how to retrieve it from the C++ side? How to
allow perspective users to extend a package taking exposed class and
defining new Rccp functions that uses those exposed class as argument
or return?
My main difficulty is that! I will appreciate your points over that?
Cheers,
FH
-----Original Message-----
From: Ralf Stubner <ralf.stubner at r-institute.com>
To: rcpp-devel at lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] Modules + Attributes for extensions
Date: Tue, 6 Mar 2018 14:41:32 +0100
On 06.03.2018 00:08, fernandohtoledo at gmail.com wrote:
> I
> will also appreciate if someone point me an R package in which custom
> as/wrap are defined!
The reference: http://dirk.eddelbuettel.com/code/rcpp/Rcpp-extending.pd
f
Also very useful:
http://gallery.rcpp.org/articles/custom-templated-wrap-and-as-for-seami
ngless-interfaces/
Simple example: RcppBDT
More complex examples: RcppArmadillo, RcppEigen, RcppGSL
Greetings
Ralf
_______________________________________________
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