On Wed, Jul 04, 2007 at 04:39:18AM -0700, Deb Midya wrote:
Hi R Users,
Thanks in advance.
I am using R-2.5.1 on Windows XP.
I am trying to call C code (testCX1.C) from R. testCX1.c calls another C
code (funcC1.c) and returning a value to testCX1.c. I like to have this
Gabor,
Thank you very much for such a quick response.
As I am new to this area, will you please explain where can I put SEXP
func(SEXP a);
in my program.
Once again, thank you very much for your quick response.
Regards,
Deb
Gabor Csardi [EMAIL PROTECTED] wrote:
On Wed, Jul 04, 2007 at 05:15:15AM -0700, Deb Midya wrote:
Gabor,
Thank you very much for such a quick response.
As I am new to this area, will you please explain where can I put SEXP
func(SEXP a);
in my program.
Deb, anywhere before calling it. (Well outside a function
You need to install perl and MinGW, at least.
If you have them installed, then you need to properly set PATH environment
variable and, probably, restart your command line session.
See chapter 5 of the manual Writing R extensions (installed in
R_HOME/doc/manual)
and these two links
Deb Midya wrote:
Hi!
Thanks in advance.
I am using R-2.4.0 on Windows XP. I am trying to create dll file.
My C code:
/* useC1.c */
void useC(int *i) {
i[6] = 100;
}
I have tried to create useC1.dll.
C:\R-2.4.0\binR CMD SHLIB useC1.c