Dear all, I'm new to R and am trying to create a dll in order to be able to use the "dyn.load". I work with some examples and its works fine. Now, I would like to create a dll that use a lib (libgsl.a). I have linked its in a main c program and its works fine too. How can I instruct rcm ... to include this lib??? The .h file is in mingw\include\gsl and I put #include <gsl/gsl_cdf.h> in the C code. The libgsl.a is in mingw\lib. Best regards.