Re: [R] Trouble with Installing R Package gsl

2012-07-25 Thread cai zhu
Thanks very much for your help, Uwe. I can compile the package, but when load the package, it cannot find the share lib, as the error message: ** testing if installed package can be loaded Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/data1/zhucai/local/R-2.15

Re: [R] Trouble with Installing R Package gsl

2012-07-25 Thread Uwe Ligges
Looking at the gsl code suggest you can set environmant variables that are used by configure, hence setting GSL_CFLAGS = -I/data1/zhucai/local/gsl/include GSL_LIBS = -L/data1/zhucai/local/gsl/lib -lgsl -lgslcblas before R CMD INSTALL should do the trick (untested). Uwe Ligges On 24.07.2