Skip to content
Prev 80028 / 398502 Next

Build R package with shared library

Marcelo Damasceno wrote:

            
Hmmm. You have to INSTALL a package. Shared libraries will be build on 
the fly while installing. Hence I think you have not read the mnauals 
carefully enough.

You can put C and Fortran files in ./src, the shared library will be 
installed during
   R CMD INSTALL pack
into the ./lib directory.
You really want to pass a directory and a filename to your shared 
library? So, why are you using R in between?

Uwe Ligges