[R] Question about calling C function from R

Zhu Chao chao_zhu at hotmail.com
Thu Oct 21 21:25:03 CEST 2004


Hi,all

I wrote a C function and now I want to plug in this in R. I know how to do 
this in Unix version R by typing something like "R CMD SHLIB foo.c" to 
compile this C code. Then I can load it by using dyn.load. But I don't know 
how to do it in a windows version R. Anyone can help me out here? I really 
appreciate.

Thanks a lot!

Chao




More information about the R-help mailing list