Re: [Rd] How to call R from C

2010-11-23 Thread Prof Brian Ripley
On Tue, 23 Nov 2010, Wonjae Lee wrote: Thank you! I tried to build a C code below, and I got a error message. How?: you have not shown us the commands you used. At a guess you are on Windows and didn't tell us (see the posting quide) using MSVC (not supported but may work -- just don't ask

Re: [Rd] How to call R from C

2010-11-23 Thread Wonjae Lee
Thank you! I tried to build a C code below, and I got a error message. Thank you for your help in advance. #include "embeddedRCall.h" int main(int argc, char *argv[]) { eval_R_command("print", argc, argv); return(0); } = Co

Re: [Rd] How to call R from C

2010-11-22 Thread Brian G. Peterson
On Tue, 23 Nov 2010 01:24:04 +0900, 이원재 wrote: > Hi all! > I read R Extensions manual. > But still I am not sure how to call R functions from C. > Would any of you give me a sample C code to show how to call R functions - > for instance, time series functions - from C in the embedded way of C code?

Re: [Rd] How to call R from C

2010-11-22 Thread Romain Francois
Le 22/11/10 17:24, 이원재 a écrit : Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code? As Brian said, th

Re: [Rd] How to call R from C

2010-11-22 Thread Brian G. Peterson
On Tue, 23 Nov 2010 01:24:04 +0900, 이원재 wrote: > Hi all! > I read R Extensions manual. > But still I am not sure how to call R functions from C. > Would any of you give me a sample C code to show how to call R functions - > for instance, time series functions - from C in the embedded way of C code?

[Rd] How to call R from C

2010-11-22 Thread 이원재
Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code? [[alternative HTML version deleted]]