Re: [Rd] R and C pointers

2012-06-19 Thread Adrian Duşa
Oh, that was straightforward enough... Thanks very much, Simon. Adrian On Tuesday, June 19, 2012, Simon Urbanek wrote: > > On Jun 19, 2012, at 11:40 AM, Adrian Duşa wrote: > > > Dear R devel, > > > > Apologies for these (most probably trivial) questions, doing my first > > attempt to call C from

Re: [Rd] R and C pointers

2012-06-19 Thread Simon Urbanek
On Jun 19, 2012, at 11:40 AM, Adrian Duşa wrote: > Dear R devel, > > Apologies for these (most probably trivial) questions, doing my first > attempt to call C from R (and actually learning C in the process). > > I need to pass a matrix to C, and after reading R-exts.pdf (many > times), I was un

[Rd] R and C pointers

2012-06-19 Thread Adrian Duşa
Dear R devel, Apologies for these (most probably trivial) questions, doing my first attempt to call C from R (and actually learning C in the process). I need to pass a matrix to C, and after reading R-exts.pdf (many times), I was unable to find how to handle matrices at C-level... except for, wha