search for: verylargeinteg

Displaying 1 result from an estimated 1 matches for "verylargeinteg".

Did you mean: verylargeinteger
2014 May 16
1
SEXPTYPEs
...xpinfo header is defined as a 32-bit C structure..." and "A SEXPREC is a C structure containing the 32-bit header..." The question is: does the INTSXP allow vectors larger than 32-bit? A test example: //### int *p_temp; SEXP root = PROTECT(allocVector(VECSXP, 5)); long long int verylargeinteger; // something to compute verylargeinteger, > 32-bit SEXP temp = SET_VECTOR_ELT(root, 0, allocVector(INTSXP, verylargeinteger)); p_temp = INTEGER(temp); //### "temp" should be a vector of length > 32-bit, and "p_temp" should be the pointer to that vector. If declaring:...