Displaying 18 results from an estimated 18 matches for "libgsl".
Did you mean:
libgl
2016 Nov 01
2
libgsl.so.0
...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 of googling around I did:
sudo apt-get install libgsl2
sudo apt-get install libgsl-dev
both of which ran successfully.
Still no joy, but. What *else* do I need to do?
I am running Ubuntu 16.04.1.
cheers,...
2016 Nov 01
2
libgsl.so.0
...;> 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 of googling around I did:
>>
>> sudo apt-get install libgsl2
>> sudo apt-get install libgsl-dev
>>
>> both of which ran successfully.
>>
>> Still no joy...
2016 Nov 01
0
libgsl.so.0
...or 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 would be
necessary to detect this scenario.
-Kirill
On 01.11.2016 09:45, Rolf Turner wrote:
> On 01/11/16 21:08, Kirill M?ller wrote:
>> Did you reinstall the gsl package [1]?
>
> Apparently not....
2004 Jun 01
0
rcmd with a libgsl.a
Dear all, I'm new to R and am trying to create a dll in order to be able to
use the "dyn.load".
I work with some examples and its works fine.
Now, I would like to create a dll that use a lib (libgsl.a). I have linked
its in
a main c program and its works fine too. How can I instruct rcm ... to
include this lib???
The .h file is in mingw\include\gsl and I put #include <gsl/gsl_cdf.h> in
the C code. The libgsl.a is in mingw\lib.
Best regards.
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&quo...
2009 Nov 20
1
how to link C code with gsl from R CMD and dyn.load
....path(libPath, "hello.so"))
I got an error message in R
Error in dyn.load(file.path(libPath, "hello.so")) :
unable to load shared library '~/ccode/hello.so':
~/ccode/hello.so: undefined symbol: gsl_stats_mean
I do have gsl installed and the gls lib folder has both libgsl.a and
libgsl.so.
How I can link the C code with gsl library from R CMD SHLIB?
Any suggestions would be appreciated.
Jeff
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 "referenced symbol <symbolname> not found". What is wrong?
We will much appreciate any help on this.
We are using R-1.9.1 on Unix.
[[alter...
2009 Apr 05
2
Problem with Dynamo-Package
...eceived the following warning message:
"In file.create(f.tg) :
cannot create file 'C:\PROGRA~2\R\R-28~1.1/doc/html/packages.html', reason 'Permission denied'"
and when I load the package, an error message pops up saying that "the application failed to start because libgsl.dll was not found. Re-installing the application may fix the problem"
Can anyone help to solve this problem.
Mohammad
[[alternative HTML version deleted]]
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
...Makefile
make[2]: Entering directory
`/home/rahman/Downloads/qtiplot-0.9.8.9/fitPlugins/explin'
rm -f libexplin.so.1.0.0 libexplin.so libexplin.so.1 libexplin.so.1.0
g++ -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libexplin.so.1 -o
libexplin.so.1.0.0 explin.o -L/usr/lib64 ../../3rdparty/gsl/lib/libgsl.a
../../3rdparty/gsl/lib/libgslcblas.a -L/opt/local/lib -lpthread -lQtGui
-lQtCore
g++: error: ../../3rdparty/gsl/lib/libgsl.a: No such file or directory
g++: error: ../../3rdparty/gsl/lib/libgslcblas.a: No such file or directory
make[2]: *** [../libexplin.so.1.0.0] Error 1
make[2]: Leaving directo...
2002 Apr 16
1
Problem with dyn.load()
...n 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://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", &q...
2010 Oct 30
1
Trouble installing gsl wrapper
...ibs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/lib64/R/library/gsl/libs/gsl.so':
libgsl.so.0: cannot open shared object file: No such file or directory
ERROR: loading failed
* removing ?/usr/lib64/R/library/gsl?
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: x86_64-unknown-linux-gnu (64-bit)
2012 Jul 24
1
Trouble with Installing R Package gsl
...** help
*** installing help indices
** building package indices
** installing vignettes
‘gslpaper.Rnw’
** 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.1/library/gsl/libs/gsl.so':
libgsl.so.0: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/data1/zhucai/local/R-2.15.1/library/gsl’
I know it may be because LB_LIBRARY_PATH, but I cannot contract with
administer easily and no right to modify it, so ho...
2007 Jan 06
0
Mongrel/Rails weird problem with methods
...m list on both and then diff the results. That''ll tell you
> what''s different.
Thanks for replying, I''ve finally gotten to the bottom of it. I''ve
been using classifier (http://rubyforge.org/projects/classifier/) for
some bayesian experiments, which requires libgsl.
Seems that while rb-gsl (http://rb-gsl.rubyforge.org/) is installed,
my models break!
I''ve yet to work out why, but I also found that adding a stub to my
model temporarily fixed the problem:
def equal?( obj )
end
Maybe someone else will find this helpful, thanks again :)
- Paul
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
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:
*
2010 Oct 31
1
R-help Digest, Vol 92, Issue 31
...ibs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/lib64/R/library/gsl/libs/gsl.so':
libgsl.so.0: cannot open shared object file: No such file or directory
ERROR: loading failed
* removing ?/usr/lib64/R/library/gsl?
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: x86_64-unknown-linux-gnu (64-bit)
------------------------------
Message: 94
Date: Fri, 29 Oct 2010 22:41:03 -0...