Displaying 20 results from an estimated 11000 matches similar to: "rcmd with a libgsl.a"
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
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"
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
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
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
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
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 Oct 30
1
Trouble installing gsl wrapper
Hi,
I'm trying to install the gsl wrapper source code
(http://cran.r-project.org/src/contrib/gsl_1.9-8.tar.gz) on a Linux
system (OpenSuse 11.1), but encountering the following problem. I've
already installed 'gsl' version 1.14
(ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz) on the system. What's
missing? Thanks a lot...
> R CMD INSTALL gsl
* installing to library
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
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
2015 Jan 31
0
Installation of qtiplot in Centos 7
Dear all
I am trying to install qtiplot in Centos 7 (qtiplot is a graph plotting
software similar to Origin). I followed the same step as this mention on
this. http://poolinfo.physik.hu-berlin.de/qtiplot-installer/README.html
At step 8, I experience the following error.
cd fitPlugins && make -f Makefile
make[1]: Entering directory
`/home/rahman/Downloads/qtiplot-0.9.8.9/fitPlugins'
2007 Jan 06
0
Mongrel/Rails weird problem with methods
Hi Zed,
> > NoMethodError in Profiles#change_interests
> > private method `equal?'' called for #<Interest:0xb767ae8c>
> > On another box with the same mongrel gem versions, it works fine. A
> > week later I''m asking in desperation, what have I broken?!
> If it works in one place, but not in another, then you have to find out what the difference
2006 Dec 12
1
Undefined symbol when trying to dyn.load a shared object
I hope that someone reading this list can offer some suggestions on how I can incorporate external C libraries in C functions that I want to call from R. I have gone through all of the documentation, help files and mailing list archives and have not been able to find a satisfactory solution.
I have constructed a simple example of the problem, since my "real" program is much more
2013 Jun 09
1
Dyn.load of sharing object with GSL library
Dear R-list,
I want to use shared library of gsl in R(2.15.1) on unix .I have a makefile such as
CC = gcc
CFLAGS = -fPIC -O2
PKG_LIBS -lgsl -lgslcblas -lm -lpthread
?
OBJS_SPB = calc_spb.o k.o dk.o ddk.o
?
?
calc_spb.so : $(OBJS_SPB)
?
????? $(CC) -shared -o calc_spb.so $(LIBS) $(OBJS_SPB)
?
clean :
????? rm -f ../*.o *.o
?
clean.so:
????? rm -f *.so
?
I use R CMD SHLIB calc_spb.c in terminal
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
2007 Jan 04
1
Parameter changes and segfault when calling C code through .Call
I am experiencing some odd behavior with the .Call interface, and I am hoping someone out there can help me with it. Below is a simple example (in that there are R packages that do exactly what I want), but this code illustrates the problem. Thanks in advance for any help you can provide.
Suppose I want to compute the log density of a multivariate normal distribution using C code and the gsl
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
2003 Jun 25
0
Rcmd SHLIB on Windows
Hi all,
I would like to preform an autologistic regression analysis on my thesis data. This is a form of logistic regression that accounts for spatial autocorrelation within and between predictor variables. To this end I have received some script from Dr. Fred Huffer which will allow for the analysis in R. It consists of an R script (autolog.R) that calls a compiled Fortran script (combo.o).
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
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