[Rd] Optimization in R

Andrew Clausen clausen at econ.upenn.edu
Sat Aug 4 22:37:41 CEST 2007

Hi Manuel,

My multimin() wrapper will be merged into the Rgsl package.  I expect that the
wrapper doesn't do anything special (compared to the rest of Rgsl) to break the
compilation -- you're just having trouble with my very crude and temporary

Does Rgsl work for you?

If it does, you can probably just copy the relevant files into the right spot,
and build Rgsl the normal way.  (i.e. *.[ch] into src/, *.R into R/, and so


On Sat, Aug 04, 2007 at 03:58:33PM -0400, Manuel Morales wrote:
> I tried installing the multimin function. To get it to compile, I needed
> to change the Makefile to reflect my path and by adding the flags fPIC
> in response to the error: "/usr/bin/ld: vector.o: relocation R_X86_64_32
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC"
> However, I get the following running test.R:
> Error in dyn.load(x, as.logical(local), as.logical(now)) : 
>         unable to load shared library '/home/mmorales/Desktop/multimin/gsl.so':
>   /usr/lib64/libgsl.so.0: undefined symbol: cblas_ctrmv
> I'm running R-2.5.1 compiled for x86_64 with a custom built ATLAS.

More information about the R-devel mailing list