Call C code from R
Hi!
Olga K. Kamneva wrote:
Hello, All! I have function which is written in C, the function uses other functions also builded bu me. Now I need to use the function to build R function. My questions are: 1. How can I include libraries (for example, iomanip, sstream, tcl.h)? 2. Should I put other function to the separate file and then include the file?
this document is not very recent but it helped me awhile ago: http://www.biostat.jhsph.edu/~rpeng/docs/interface.pdf Best, Roland