Displaying 20 results from an estimated 5000 matches similar to: "Trouble installing gsl wrapper"
2012 Jul 24
1
Trouble with Installing R Package gsl
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 access, so it cannot be
installed in standard folder.
(2) Then I download the source code of R
2016 Nov 01
2
libgsl.so.0
I have just upgraded to the latest R (3.3.2) and thought I should update
my library of contributed packages.
Ran into problems with "copula". Got the error:
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared object '/home/rolf/Rlib/gsl/libs/gsl.so':
> libgsl.so.0: cannot open shared object file: No such file or directory
So after a bit
2016 Nov 01
2
libgsl.so.0
On 01/11/16 21:08, Kirill M?ller wrote:
> Did you reinstall the gsl package [1]?
Apparently not. I did a complete update.packages() which reinstalled a
great number of packages (I have a great number in my personal library).
There were complaints about 4 packages, one of which was "copula", but
"gsl" was not one of them.
I would have *thought* that if "gsl"
2009 Nov 20
1
how to link C code with gsl from R CMD and dyn.load
Hi,
I am writing a function in C that is meant to be called by R. In the C
function, I used a gsl function gsl_stats_mean. The code is as simple as
below
void gsl(double *m, int *dim){
int r, c;
r = dim[0];
c = dim[1];
double mean = gsl_stats_mean(&m[0], 1, r);
Rprintf("mean = %f\n", mean);
}
The C code is succesfully compiled and the output is as follows.
$ R CMD SHLIB
2004 Sep 09
3
Dyn.load of sharing object with GSL library
Following the recommendation of Prof. Ripley, I have created the Makevars
file with the line:
PKG_LIBS="-L/usr/lib/libm -lm -L/usr/local/lib/libgsl -lgsl -L/usr/local/lib
/libgslcblas -lgslcblas"
in the working directory.
Now I have the code file Example3.c which computes the Bessel function value
(the example is taken from the GSL reference book).
I am running:
R CMD SHLIB Example3.c
2014 Oct 01
1
gsl package on mavericks
hello
I maintain the gsl R package, and many users have recently reported that
the package
does not install from source under macosx 10.9 ("mavericks").
Users typically install the gnu GSL library and are able to compile and run
a small "hello world" program which executes some of the Bessel functionality
of the library; but under mavericks the configure script (which uses
2004 Sep 09
1
Adding GSL library path to SHLIB
Dear R-list people,
I asked a similar question a few hours before. I will try to be more specific.
We like to add the GSL library to the file SHLIB in order to make it possible to run the C code using GSL functions from R.
We read that the path to the libgsl.a should be added to the line shlib_libadd=' ' in the file SHLIB but it does not work on our system. Dyn.load fails with error
2010 Feb 28
1
Problem with gsl package
Hi all,
I am new to R and am writing after having contacted Robin Hankin, who
maintains the R gsl wrapper.
I am trying to use an AFNI (neuroimaging analysis) program that depends
on the R gsl package. When I try to use the script I wrote, I get an
error that led me to suspect the gsl package was a culprit. When I do
library("gsl") within R, I get:
Error in dyn.load(file, DLLpath
2016 Nov 01
0
libgsl.so.0
The error message mentions (perhaps not very clearly) that the shared
library installed with the gsl R package could not be loaded. Chances
are that the gsl package (and as a consequence the copula package, too)
didn't work before you upgraded. This can happen e.g. if the dependent
system library (libgsl-dev?) is upgraded.
update.packages() doesn't try to load any packages, which
2012 Jul 30
0
Unable to install gsl package
I'm attempting to install the gsl package using the following command:
install.packages("c:/users/mike/documents/R/win-library/gsl_1.9-9.tar.gz",repos=NULL,type="source")
My attempt is failing. Please help.
The message supplied is:
Installing package(s) into ‘C:/Users/Mike/Documents/R/win-library/2.15’
(as ‘lib’ is unspecified)
* installing *source* package
2002 Apr 16
1
Problem with dyn.load()
I tried to dynamically load a c++ function. Everything seems to be OK
when dyn.load() is executed but then I get this error
Error in .C("integral", sumInMean, sumInVar, boundError,
numberSampleClasses, :
C/Fortran function name not in load table
The code of the function is something like this:
#include <cmath>
extern "C" {
#include
2006 Jun 23
3
problem installing gsl package under Ubuntu Breezy Badger
I am trying to install the gls package (a wrapper for GNU scientific library
special functions) package under Ubuntu 5.10. I have gls-bin (the debian GNU
Scientific Library binary package). When I try to install the R package, I
receive the following.
> install.packages("gsl",dependencies=T)
Warning in install.packages("gsl", dependencies = T) :
argument
2010 Jan 22
2
R CMD check error with the GNU Scientific Library
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 package can be loaded ... ERROR
Loading required package: splancs
Loading required package: sp
2018 Feb 02
0
mpfr and gsl problem on SLES11 SP4
Dear Team,
Maybe somebody already tried to install mpfr and gsl packages for R on SLES.
Exactly I try to install Rmpfr_0.6-1.tar.gz and gsl_1.9-10.3.tar.gz on SLES11 SP4.
These are the available packages from official SLES SDK media:
rtest:/home/ruser # rpm -qa | grep -i gsl
gsl-devel-1.11-1.30
gsl-1.11-1.30
rtest:/home/ruser #
As I understand gsl is from 1.11 till 1.30 level.
2012 Jul 25
0
gsl lib version detected wrong during install
Hello everyone,
I've tried to install the R gsl package but without success because R claims
there needs to be a gsl library version >= 1.12 installed on the system.
Actually gsl library version 1.12 is installed locally in my home directory
and I set PATH and LD_LIBRARY_PATH in .bash_profile to point to
corresponding bin and lib directory. gsl-config is accessible from
everywhere in the
2006 Dec 12
1
include libraries for C code called from R
I hope that someone on this list can help me with this issue. I have searched
through all of the documentation and mail archives for a solution, but have
been unable to find an answer that addresses my particular problem directly.
Suppose I am writing some C code that I want to access from R through the .C
function. As part of the C function, I want to include an external C library,
such as the
2012 Aug 17
2
R package compilation: files in src directory should be ignored if C library is not available
I have written an R package which contains C source code (in the directory pkg/src).
Only a subset of the functions in the pkg/R directory contain a .C() call to the functions in the pkg/src directory. The rest of the package will still work and be useful without the functions containing a .C() call.
To compile the code in pkg/src requires the GSL library. This is detailed in the
2009 Jan 06
1
Installation of R package gsl and its corresponding GSL library
Hi
I want to install the R package gsl, which is a wrapper to the library GSL.
Installation fails as it seems that I did not install the right GSL library:
* Installing *source* package 'gsl' ...
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of
2007 Nov 22
1
package gsl assumes incorrect gcc version during install (PR#10451)
Full_Name: Levi Waldron
Version: 2.5.1
OS: Ubuntu Gutsy
Submission from: (NULL) (206.248.157.88)
I installed libgsl0-dev then tried to install the gsl cran package,
unsuccessfully (see output below). As a workaround I created a symbolic link to
/usr/bin/gcc-4.2, ie:
sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc-4.2
The correct behavior of the gsl package should be to use the executable
2007 Oct 03
1
error installing gsl pkg
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 'gsl' ...
checking for gcc... gcc
checking for C