[Rd] calling R from C
tlumley at u.washington.edu
Mon Jul 21 08:21:12 MEST 2003
On Mon, 21 Jul 2003, Khamenia, Valery wrote:
> Hi All,
> We'd like to use functions provided in R in our application.
> Our application is written in C/C++ and currently runs on
> win32, Linux and Mac. We'd be happy to attach the whole
> R ( i.e. not just transfer some function by hand).
> It is important that we deal with big amount of data, so
> "command line"-like invocations won't be very interesting.
> We'd like to link R's code statically or dynamically.
You can compile R as a shared library, which allows you to construct and
evaluate R expressions from C.
There's a recent thread on r-devel with a bit more information:
Thomas Lumley Assoc. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-devel