[Rd] Accessing i'th element of a vector without using a macro

Saptarshi Guha saptarshi.guha at gmail.com
Mon May 20 18:56:27 CEST 2013


Hello,

I have a double vector, x. I can access the i'th element as

REAL(x)[i]

Is there a function for this? I know i can write my own, but was
seeing if one already exists. I did check Rinternals.h but didn't see
one.

Cheers
Saptarshi



More information about the R-devel mailing list