Re: [R] Call R program from C++ code

2007-07-30 Thread Vladimir Eremeev
f Of Vladimir Eremeev K> Sent: 2007年7月30日 5:16 K> To: r-help@stat.math.ethz.ch K> Subject: Re: [R] Call R program from C++ code K> "Writing R Extensions" manual contains chapters dedicated to parsing and K> evaluating of the R extensions from C. K> Also, I vaguely remem

Re: [R] Call R program from C++ code

2007-07-30 Thread Kisas
d library object(.lib? or .dll ? ) Can you please give more details about that? Best, Feng -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Eremeev Sent: 2007年7月30日 5:16 To: r-help@stat.math.ethz.ch Subject: Re: [R] Call R program from C++ code

Re: [R] Call R program from C++ code

2007-07-30 Thread Dirk Eddelbuettel
On Sun, Jul 29, 2007 at 07:15:21PM -0400, Feng Qiu wrote: > >>using the system() call -- but it is also the most tedious way as you > When using System() to call R program, do I need to call some R script > program or my R function directly? It's system() with lower-case s, and yes, you would cal

Re: [R] Call R program from C++ code

2007-07-30 Thread Dirk Eddelbuettel
On Sun, Jul 29, 2007 at 04:35:51PM -0400, Feng Qiu wrote: >I'm developing an application program using C++. From my C++ > code, I would call some R program I have written. I' wondering if R provide > some compiler that can compile R program into executable program. I searched That

[R] Call R program from C++ code

2007-07-30 Thread Kisas
Hi All: I'm developing an application program using C++. From my C++ code, I would call some R program I have written. I' wondering if R provide some compiler that can compile R program into executable program. I searched R-help, there are a lot of posts talking about writing C++ co

Re: [R] Call R program from C++ code

2007-07-30 Thread Vladimir Eremeev
"Writing R Extensions" manual contains chapters dedicated to parsing and evaluating of the R extensions from C. Also, I vaguely remember I've seen something like "Embedding R" somewhere in manuals. R can be compiled as a shared library object, that you can dynamically load from your application an

Re: [R] Call R program from C++ code

2007-07-29 Thread Feng Qiu
at works in my case. Thanks again! Best, Feng -Original Message- From: Dirk Eddelbuettel [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eddelbuettel Sent: 2007年7月29日 18:17 To: Feng Qiu Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Call R program from C++ code On Sun,

[R] Call R program from C++ code

2007-07-29 Thread Feng Qiu
Hi All: I'm developing an application program using C++. From my C++ code, I would call some R program I have written. I' wondering if R provide some compiler that can compile R program into executable program. I searched R-help, there are a lot of posts talking about writing C++ co