Re: [Rcpp-devel] Ripping C source from R

2012-07-01 Thread Søren Højsgaard
I think it is necessary that you ensure that the relevant .h files are includede (Rdefines.h etc). You could include your code in a future message. Regards Søren From: [email protected] [mailto:[email protected]] On Behalf Of Silkwo

[Rcpp-devel] Ripping C source from R

2012-07-01 Thread Silkworth,David J.
I am attempting to take a copy of the entire splines.c file and use this for compilation into a new project (so I can call spline_basis() directly, but preserve the identity and integrity of the original work. When I tried to pack this code into the include for the inline cxxfunction call I end