Re: [R] passing a matrix from R to C code

2012-09-24 Thread Rui Barradas
Hello, Also, R uses doubles, not floats. Hope this helps, Rui Barradas Em 24-09-2012 23:27, Peter Langfelder escreveu: Erin, you seem to confuse R and C syntax a bit, among other things. See below. On Mon, Sep 24, 2012 at 3:03 PM, Erin Hodgess wrote: Dear R People: I'm working on a projec

Re: [R] passing a matrix from R to C code

2012-09-24 Thread Peter Langfelder
Erin, you seem to confuse R and C syntax a bit, among other things. See below. On Mon, Sep 24, 2012 at 3:03 PM, Erin Hodgess wrote: > Dear R People: > > I'm working on a project that will pass a matrix from an R function to > a C subroutine. > > I tried to write the following: > > #include > #in