Re: [R] C++ to R : 64bit to 32bit problem.

2009-06-02 Thread Thomas Lumley
On Tue, 2 Jun 2009, H c wrote: 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 pr

[R] C++ to R : 64bit to 32bit problem.

2009-06-02 Thread H c
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