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