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

[R] Trouble with Installing R Package gsl

2012-07-24 Thread cai zhu
Dear R users: I have a problem when installing the R package *gsl*. The procedure is as follows: (1) Since it needs a GSL vesion >=1.12, and the GSL library on the serve I use is too old, I download GSL 1.15 and install it in my own account, such as $HOME/local/gsl. Because I do not have root ac