Re: [R] error installing gsl pkg

2007-10-03 Thread Robin Hankin
Hello Randy I get emails like this quite a lot. The most likely problem is in the installation of the gsl library. To verify that it is in fact installed, try to compile and run the little Bessel function example given in gsl-ref, section 2.1. Get this working first. If it works, this means

[R] error installing gsl pkg

2007-10-03 Thread Randy Heiland
Newbie here (to R) and running Linux... install.packages(gsl,~/R) ... trying URL 'http://cran.wustl.edu/src/contrib/gsl_1.8-4.tar.gz' Content type 'application/x-tar' length 57051 bytes opened URL == downloaded 55Kb * Installing *source* package

Re: [R] error installing gsl pkg

2007-10-03 Thread Randy Heiland
Robin, Thanks much for the reply. It turns out, for reasons which are still unknown to me, that on this machine, doing the following: % g++ bessel.cpp -o bessel -lgsl -lgslcblas will tell me it can't find -lgsl, in spite of its path being on my LD_LIBRARY_PATH. So, being explicit solves

Re: [R] error installing gsl pkg

2007-10-03 Thread Dirk Eddelbuettel
On 3 October 2007 at 12:25, Randy Heiland wrote: | Thanks much for the reply. It turns out, for reasons which are still | unknown to me, that on this machine, doing the following: | | % g++ bessel.cpp -o bessel -lgsl -lgslcblas | | will tell me it can't find -lgsl, in spite of its path