[Rcpp-devel] Resolving NativeSymbolInfos from Rcpp (revisited)

Iñaki Úcar i.ucar86 at gmail.com
Sat Jul 29 16:25:47 CEST 2017


2017-07-29 16:15 GMT+02:00 Dirk Eddelbuettel <edd at debian.org>:
>
> On 29 July 2017 at 15:48, Iñaki Úcar wrote:
> | Yes, I am, and I think that my use case is slightly different. My
> | understanding is, correct me if I'm wrong, that RcppDE implements some
> | C++ functions and the user is able to choose which one the backend
> | should use via its name. In my case, the user is the one that would
> | implement a C++ function for which the backend is unaware: it doesn't
> | know the name and it's located in another dynamic library.
>
> Exactly the same here.  You misunderstood the example and failed to grasp the
> generality.
>
> All you do is specify a signature -- i.e. accepting two NumericVector and
> returning a third.   Then the external pointer takes care of everything.  You
> as the API provider known nothing about the supplied functions.
>
> Ditto in RcppDE. Optmises any function.

Ok, then I have to check RcppDE more in detail. Thanks for your help!

Iñaki


More information about the Rcpp-devel mailing list