, 10, score);
SET_VECTOR_ELT(returnList, 11, symCount);
UNPROTECT(13);
//axtFree(&curAxt);
//return R_NilValue;
return returnList;
-- Original --
From: "r-devel";
Date: Fri, Jun 28, 2013 03:08 AM
To: "Ge Tan"<184523...@q
Hi,
I want to read a text file into R with .Call().
So I define some NEW_CHARACTER() to store the chracters read and use
SET_STRING_ELT to fill the elements.
e.g.
PROTECT(qNames = NEW_CHARACTER(1));
char *foo; // This foo holds the string I want.
while(foo = readLine(FN)){
SET_STRING_ELT(q