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