search for: sexp1

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

Did you mean: sexp
2006 Dec 24
2
FW: Passing lists from R to C, extracting elements, and sending lists back again
...nvert the R vector to a gsl matrix, perform the linear algebra operations and populate the new list with the inverted matrix. The problem is that I can't figure out the best way to get the real elements into the list SEXP to return it to R. When I run the code below, the compiler (R CMD SHLIB sexp1.c) gives me: -bash-3.00$ R CMD SHLIB sexp1.c gcc -I/usr/lib64/R/include -I/usr/lib64/R/include -I/usr/include -I/usr/local/include -fpic -O2 -g -c sexp1.c -o sexp1.o sexp1.c: In function `invMatList': sexp1.c:37: warning: passing arg 3 of `SET_VECTOR_ELT' from incompatible pointer type...