Re: [R] C function calling in R

2009-02-20 Thread Duncan Murdoch
On 2/20/2009 7:07 AM, Cetinyürek Aysun wrote: Dear all, I have a problem in calling my C code from R. If I do not need to use #include, the codes work properly. But when I need to use it, my codes produce an error as: logpostCLM.cpp:7:15: error: R.h: No such file or directory logpostCLM.cpp:8:24

[R] C function calling in R

2009-02-20 Thread Cetinyürek Aysun
Dear all, I have a problem in calling my C code from R. If I do not need to use #include, the codes work properly. But when I need to use it, my codes produce an error as: logpostCLM.cpp:7:15: error: R.h: No such file or directory logpostCLM.cpp:8:24: error: Rinternals.h: No such file or directory