[R] Could I use R function lm or nlm in C code?
shuguang at gmail.com
Sat Apr 23 12:25:33 CEST 2011
I'm doing some simulation work and it takes me a lot of time to do it
in R. So I try to implement it in C code, but I want to use some R
functions directly for my lazy and the robustness of code. For
example, I will use lm and nlm in my program. How could I use R's lm
and nlm function directly? I thinks these functions are not included
in the R's include directory. Do I need to get full R's source first?
If I have get all R's source, is it enough that I only include the
source file for function lm or nlm?
Thanks for your advice.
More information about the R-help