search for: call_r_from_c

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

2008 Apr 29
2
Calling R from C - part way there but need a push!
...ng C from R, not the other way around.) The good news is that I can now call _some_ R from C, specifically the R functions which have C header files. However it isn't clear to me how to call R functions that are written in R. I imagine that there is a standard C function of the form Call_r_from_C("package name", "Rfunction name as a string", arg1, arg2, ...); where arg1 etc are standardised ways of representing R data structures in C. However I haven't been able to find such a function prototype in the R include/*.h files. See footnote (1). Can you point...