[R] using C++ with R?

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Sat Sep 18 15:51:50 CEST 1999


>>>>> Prof Brian D Ripley writes:

> On Fri, 17 Sep 1999, Matthew Wiener wrote:
>> Is it possible to compile C++ code for use with R?  Based on a few
>> experiments with simple C++ programs, the answer appears to be no.  Has
>> anyone managed this?

> Yes.  There is a tiny example in the draft R programming manual (not yet
> available). There are two issues I know of:

> (i) Use extern "C" { } around things you want to export symbols from
> to R.

See

  http://www.ens.gu.edu.au/robertk/R/help/99a/0317.htm

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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