You'll need something like :
PKG_LIBS=-lgsl -lgslcblas
in your Makevars.
This is from package gsl (on CRAN).
Of course! That makes sense 'cause I was already compiling using
MAKEFLAGS="CFLAGS=-g -O0" R CMD SHLIB sharka.c -lgsl -lgslcblas
and including the above line in Makevars has done the
Hi,
You'll need something like :
PKG_LIBS=-lgsl -lgslcblas
in your Makevars.
This is from package gsl (on CRAN). Or maybe you can just depend on the
gsl package and let it worry about finding where gsl is, etc ...
Romain
On 01/22/2010 10:59 AM, pleyd...@supagro.inra.fr wrote:
I have bee
Maybe you want to check out the R package gsl and take a look how it is
solved there using a configure script that looks up the gsl installation.
Best wishes,
Uwe
On 22.01.2010 10:59, pleyd...@supagro.inra.fr wrote:
I have been working on an R package that calls C code using .C(). I recently
I have been working on an R package that calls C code using .C(). I recently
started including some functions from the GNU Scientific Library in my code.
The code runs fine on my machine when not wrapped in the package. But I get the
following error from "R CMD check"
* checking whether the packag