search for: usec1

Displaying 3 results from an estimated 3 matches for "usec1".

Did you mean: usec
2007 Feb 01
2
Calling C code from R
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\bin>R CMD SHLIB useC1.c 'perl' is not recognized as an internal or external command, operable program or batch file. Then I have tried: C:\R-2.4.0\bin>Rcmd SHLIB us...
2009 Jun 02
1
C++ to R : 64bit to 32bit problem.
Hi, I'm new to calling C++/C programs from R and am having some trouble getting started. Following Sigal Blay (Simon Fraser University)'s instructions, I have a .c file called "useC1.c": /* useC1.c */ void useC(int *i) { i[0] = 11; } This produces a .o file : "useC1.o" in a specified directory. I then open R, set the proper directory and: dyn.load("useC1.o") Unfortunately I am met with the following: Error in inDL(x, as.logi...
2007 Feb 04
1
Fwd: Re: Calling C code from R
...Thanks to all of you who have responded to me on above. This is one of the responses I received on above. I have installed perl (with path C:\Perl\bin\;) an MinGW (with path C:\MinGW\bin; C:\MinGW;). At the Command Prompt (C:\R-2.4.0\bin) I have typed: C:\R-2.4.0\bin>Rcmd SHLIB useC1.c (No error and useC1.dll file has not been created) C:\R-2.4.0\bin>R CMD SHLIB useC1.c (No error and useC1.dll file has not been created) May I request you where I am going wrong. Regards, Deb Statistician NSW Department of Commerce Sydney Australia. Note:...