Displaying 15 results from an estimated 15 matches for "lgslcblas".
Did you mean:
libgslcblas
2012 Jun 09
0
-lgsl -lgslcblas fatal error no such file or directory
...lation I'm attempting would have been
astronomically time consuming with the JAGS Sampler. A couple webpages
suggested the C/GSL might be optimal.
My issue is that even though the R CMD SHLIB *c built the *dll for simple
examples, when I installed GSL for the (64 bit system), the R CMD -lgsl
-lgslcblas *c returns a fatal error: gsl/gsl_rng.h no such file or directory
exists. My paths are:
Does the order matter? I think Rtools needed to go first (in their order) in
the path list.
PATH =
c:\R\Rtools\bin;c:\R\Rtools\gcc-4.6.3\bin;C:/R/R-2.15.0/bin/x64;C:\Program
Files (x86)\MiKTeX 2.8\miktex\bin;C...
2012 Jun 16
0
R CMD -lgsl -lgslcblas *.c returns a fatal error: gsl/gsl_rng.h no such file or directory exists
...s in my previous
attempts with the JAGS sampler. A couple webpages suggested the C/GSL might
be optimal.
My issue is that even though the R CMD SHLIB *c. built the *.dll for the
simple example, when I installed GSL for the (64-bit system), the apparently
appropriate terminal command, R CMD -lgsl -lgslcblas *c, returns a fatal
error: gsl/gsl_rng.h no such file or directory exists. I understand the
issue may be with the way my windows paths are set up. My paths are:
PATH =
c:\R\Rtools\bin;c:\R\Rtools\gcc-4.6.3\bin;C:/R/R-2.15.0/bin/x64;C:\Program
Files (x86)\MiKTeX 2.8\miktex\bin;C:\Program Files\Com...
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 window of unix and in my directory was built? calc_spb...
2005 Dec 25
4
Portability and Memory Issues for R-package
...make extensive use of the gsl library in my C code, I have the gsl library installed (within the MinGw directory so it is included in the path) on my local machine. Within the package, I am then including a Makevars file with the following code in order to link to the gsl library:
PKG_LIBS=-lgsl -lgslcblas
I also know that there is an R package (gsl) making use of some gsl functions which contains a Makevars.win file with the following code:
PKG_LIBS=-LF:/MinGW/usr/local/lib -lgsl -lgslcblas
# CPPFLAGS=-I$(R_HOME)/include -IF:/MinGW/usr/local/include
PKG_CPPFLAGS=-IF:/MinGW/usr/local/include
For m...
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
and all looks good.
The dyn.load("Example3.so") fails with the following error message:
Er...
2005 Dec 22
1
(no subject)
...online but just cannot
find the answer.
I am trying to add c-code, which depend on GSL C library, into my R
package.
I am using Max OS-X 10.4.3, powerpc-apple-darwin8-gcc-4.0.1
I begin wtih package.skeleton, and then add my c file into folder src
and then add file Makevars:
PKG_LIBS=-lgsl -lgslcblas -lm
In the zzz.R file, I add the function .First.lib:
.First.lib <- function(lib, pkg) {
library.dynam("anovaGSL", pkg, lib)
}
I think these two things are enough. then I just run R CMD check
anovaGSL (my package name)
followed is the error message:
Error: .First.lib failed fo...
2002 Apr 16
1
Problem with dyn.load()
...ify its arguments ( the arguments
are pointers )
I put my function with the C header directives in extern{}.
gsl is a library written in C, so I put the gsl's header directives also
inside extern{}.
I placed in my compiling directory a Makevars file with this content:
PKG_LIBS = -lm -lgsl -lgslcblas
and my R code looks like:
dyn.load('/usr/local/lib/libgslcblas.so',F,)
dyn.load('/usr/local/lib/libgsl.so',F,)
dyn.load('/home/f/p/integral.so')
Any hint?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://ww...
2017 Sep 13
0
(no subject)
On 13/09/2017 9:10 AM, David Brayford wrote:
> Hi Duncan,
>
> The output of gsl-config --version
> 2.3
>
> The output of gsl-config --cflags
> -I/lrz/sys/libraries/gsl/2.3/include
>
> The output of gsl-config --libs
> -L/lrz/sys/libraries/gsl/2.3/lib -lgsl -lgslcblas -lm
>
> gsl_version.h cat output
> #define GSL_VERSION "2.3"
> #define GSL_MAJOR_VERSION 2
> #define GSL_MINOR_VERSION 3
>
> It's puzzling.
Sure is. I can't see what would be going wrong.
Duncan Murdoch
>
> David
>
> On 09/13/2017 02:57 PM,...
2017 Sep 13
0
(no subject)
On 13/09/2017 5:23 AM, Brayford, David wrote:
> When I try to install gsl in R I get the error Need GSL version >= 1.12 . However, I have version 2.3 of gsl installed on the system, which is picked up earlier in the configure process (see below). Is it possible for someone to fix this error in the configure script?
>
> checking for gsl-config...
2006 Dec 24
2
FW: Passing lists from R to C, extracting elements, and sending lists back again
...de -I/usr/lib64/R/include -I/usr/include -I/usr/local/include -fpic -O2 -g -c sexp1.c -o sexp1.o
sexp1.c: In function `invMatList':
sexp1.c:37: warning: passing arg 3 of `SET_VECTOR_ELT' from incompatible pointer type gcc -shared -L/usr/local/lib64 -o sexp1.so sexp1.o -L/usr/lib64 -lgsl -lgslcblas -L/usr/lib -L/usr/lib64/R/lib -lR
So, not only would it be helpful to understand how to solve this specific problem, but I would greatly appreciate some general guidance on how to best more data from lists or C datatypes and back again (especially arrays). Also, are the functions and macros desc...
2009 Dec 22
0
Rcpp 0.7.0: R/C++ integration now even easier
...ion(signature(s="numeric", n="numeric"),
gslrng,
includes="#include <gsl/gsl_rng.h>",
Rcpp=TRUE,
cppargs="-I/usr/include",
libargs="-lgsl -lgslcblas")
print(funx(0, 5))
Brief notes on this:
1) The character variable gslrng contains valid C++ code.
2) The call to cfunction converts this C++ code into a function that
calls it -- and this function is compiled, linked and loaded
automagically simply using hints about...
2009 Dec 22
0
Rcpp 0.7.0: R/C++ integration now even easier
...ion(signature(s="numeric", n="numeric"),
gslrng,
includes="#include <gsl/gsl_rng.h>",
Rcpp=TRUE,
cppargs="-I/usr/include",
libargs="-lgsl -lgslcblas")
print(funx(0, 5))
Brief notes on this:
1) The character variable gslrng contains valid C++ code.
2) The call to cfunction converts this C++ code into a function that
calls it -- and this function is compiled, linked and loaded
automagically simply using hints about...
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
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
2007 Aug 04
7
Optimization in R
Hi all,
I've been working on improving R's optim() command, which does general purpose
unconstrained optimization. Obviously, this is important for many statistics
computations, such as maximum likelihood, method of moments, etc. I have
focused my efforts of the BFGS method, mainly because it best matches my
current projects.
Here's a quick summary of what I've done:
*