Skip to content
Prev 30516 / 63421 Next

Dynamic linking to binary code from other packages??

Dear list,

Thanks very much for all of the detailed responses!  I am beginning to
understand how all of this can work, and learning quite a bit about
the C language in the process!

Can this be applied to either C++ classes or to member functions of a
class?   Please forgive my lack of general C/C++ knowledge, which may
be abundantly clear in my specific questions:

It seems pretty clear that one may not register a pointer to a class
declaration and share it in this way?!

Will it work to register a pointer to a class' member functions, using
the code described by either Jeff or Simon?  I looked into this, and
am pretty sure that it can not work.  (Here is a good article on
registering a pointer to a class' member function:
http://www.goingware.com/tips/member-pointers.html).

So, is there any way to share either C++ classes or class member
functions with another package in R?

Again, please do forgive my inexperience.

Best,
Charles

On Thu, Nov 13, 2008 at 9:15 AM, Simon Urbanek
<simon.urbanek at r-project.org> wrote: