Displaying 1 result from an estimated 1 matches for "bpmap".
Did you mean:
pmap
2006 May 08
1
Calling C++ code fom R --How to export C++ "unsigned" integer to R?
Hello all,
Is there a way to export C++ "unsigned" integer to R? (I am trying to parse
files in "BPMAP" format, and some variables are of type unsigned int (first
declared in C++) ).
I know that to export signed integer to R,
I can do the following in C++:
int Some_INTEGER = 5;
int *p_myInt;
SEXP myInt;
PROTECT(myInt=NEW_INTEGER(1));
myInt[0] = Some_INTEGER;
UNPROTECT(1);
return myInt;...