search for: invmatlist

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

2006 Dec 24
2
FW: Passing lists from R to C, extracting elements, and sending lists back again
...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 gcc -shared -L/usr/local/lib64 -o sexp1.so sexp1.o -L/usr/lib64 -lgsl -lgslcblas -L/usr/lib -L/usr/lib64/R/lib -lR So, not only would it be helpful to understand how to solve this specific problem, but...