[Rd] How to use R and add-on packages as library in C/C++

2006-08-18 Thread Pai-Hsien Hung
Hi, I have a question for building a standalone exe file via C/C++ with R and add-on packages in Windows (Compiler is VC). It may looks like ... #include #include int main() { double *x, *y, z; // ... (Variables initial) z = ar( x, ...); // In this example, I want use the ar (tim

Re: [Rd] How to use R and add-on packages as library in C/C++

2006-08-20 Thread Pai-Hsien Hung
006 10:32 PM To: Pai-Hsien Hung Cc: r-devel Subject: Re: [Rd] How to use R and add-on packages as library in C/C++ This is indeed in the manual you mention. To use R functions and not just standalone libRmath, you need to embed R. On Fri, 18 Aug 2006, Pai-Hsien Hung wrote: > Hi, >