[Rd] compiling C code using headers from another R package

Dirk Eddelbuettel edd at debian.org
Tue Mar 12 19:14:15 CET 2013

On 12 March 2013 at 11:01, Hervé Pagès wrote:
| Anyway, to answer Kevin's original question:
|    how do I know where the GSL library and header files, packaged
|    in GSLR, would live so I can point the compiler at them?
| Use the LinkingTo field.

Nope. Only covers the case of include files [1]


[1] Unless you also register every single C function which is clearly
impractical with a library as large as the GSL. See '5.4 Registering native
routines' and '5.8 Linking to other packages' in the usual "Writing R
Extensions" manual.

Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  

More information about the R-devel mailing list