[R] .C interface and Strings...

2007-01-12 Thread Stephane Cruveiller
Dear R users, I am trying to include C code into R via the .C interface. I have read that arguments passed to a C function have to be correctly DEreferenced. This is something that can be easily done for numbers (integers or float) by adding a * before the reference like for instance:

Re: [R] .C interface and Strings...

2007-01-12 Thread Sundar Dorai-Raj
Stephane Cruveiller said the following on 1/12/2007 4:15 AM: Dear R users, I am trying to include C code into R via the .C interface. I have read that arguments passed to a C function have to be correctly DEreferenced. This is something that can be easily done for numbers (integers or