[R] converting R objects to C types in .Call

Edzer J. Pebesma e.pebesma at geog.uu.nl
Tue Jan 25 11:34:22 CET 2005


Is there a specific reason why, instead of

    CHAR(STRING_ELT(chstr, 0));

The S-Plus compatible

   CHARACTER_POINTER(chstr)[0]

does not work in R?
--
Edzer




More information about the R-help mailing list