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 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.  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" needed to be reinstalled, then update.packages() would have done this.

It also makes no sense to me --- the install of "copula" complained about not being able to find a shared object library (presumably of
fortran or C or some such code), not about being unable to load "gsl".

Be that as it were, I did an install (a reinstall) of "gsl" successfully and then the install of copula was also smooth and successful.

Thanks.

cheers,

Rolf Turner

-Kirill


[1] https://cran.r-project.org/web/packages/gsl/index.html


On 01.11.2016 04:17, Rolf Turner wrote:

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 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.

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to