Re: [Rd] debug R objects at C level

2012-06-21 Thread Adrian Duşa
On Thu, Jun 21, 2012 at 3:02 PM, Duncan Murdoch wrote: > On 12-06-21 7:38 AM, Adrian Duşa wrote: >>[...] > > You seeing the value, not a pointer, but you are using an integer format to > display a real.  You need the %f or related format. > > I would also recommend using Rprintf() rather than prin

Re: [Rd] debug R objects at C level

2012-06-21 Thread Duncan Murdoch
On 12-06-21 7:38 AM, Adrian Duşa wrote: Dear R-devel, I am now at a debugging phase, and would like to inspect the (individual) values in an arbitrary R vector. It should be simple, but after hours of reading I am simply unable to find the right information. A possible C code is: ±±