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. Any comments and/or links to docs on subj would be highly appreciated. (Especially comments on Mac) Thank you in advance. kind regards, Valery A.Khamenya --------------------------------------------------------------------------- Bioinformatics Department BioVisioN AG, Hannover
calling R from C
2 messages · Khamenia, Valery, Thomas Lumley
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: http://maths.newcastle.edu.au/~rking/R/devel/03b/0073.html -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley@u.washington.edu University of Washington, Seattle