search for: _002ec

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

Did you mean: 2002e
2008 May 13
2
Calling C code from R...wrapping C structures
Hi everyone, I am currently trying to call some C code from R, specifically calling a function which populates a C struct. typedef struct{ // contents } Model; void test(Model *m){ // fill the struct with crap } I compile the C code into a shared library, which loads into R properly. My simple test functions work (i.e adding numbers etc) setModel <- function(){