[R] C++ interface?

Fredrik Karlsson fredrik.karlsson at ling.umu.se
Fri Nov 15 15:06:49 CET 2002

Dear list,

I would like to write a R package that interfaces with existing C++
classes (which I did not write myself). After having read the relevant
part of `Writing R Extensions', I have to say that the issue is still
somewhat of a mistery to me. One obvious explanation for this is that I
have not had any practical experience in C++, only C, meaning that I am
relying on what I've read a long time ago.

However, I think I'll manage if I could find example code more extensive
than the one in the `Writing R Extensions' manual. Does anyone know
of any package that are using the C++ <-> R interface that where I can
get inspiration?

What I would need is example code of class instantiation, calling of
object method as well as passing values/objects from/to C++ within R.

Greateful for all the help I can get!

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list