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