Niall Bolger
2008-Dec-05 19:07 UTC
[R-sig-Debian] Problem loading Matrix package in Ubuntu R 2.8.0
Dear List: I'm having the same problem that was reported recently. The latest version of R cannot load the Matrix package, even though it is installed and readable. I've read the archive files for this list and tried the suggested solutions (e.g., removing/uninstalling the Matrix package and reinstalling it). Nothing has worked so far. Does anybody have advice of what I could try next? Thanks in advance, Niall Bolger Details of the error I get when I try to load the Matrix package: *> library(Matrix) Loading required package: lattice Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/usr/lib/R/site-library/Matrix/libs/Matrix.so': libRlapack.so: cannot open shared object file: No such file or directory Error: package/namespace load failed for 'Matrix'* [[alternative HTML version deleted]]
Matthieu Stigler
2008-Dec-05 19:24 UTC
[R-sig-Debian] Problem loading Matrix package in Ubuntu R 2.8.0
Hello My solution was to remove, download and install with sudo R CMD INSTALL Matrix did you try it? Didn't it worked Niall Bolger a ?crit :> Dear List: > > I'm having the same problem that was reported recently. The > latest version of R cannot load the Matrix package, even though it is > installed and readable. I've read the archive files for this list and > tried the suggested solutions (e.g., removing/uninstalling the Matrix > package and reinstalling it). Nothing has worked so far. > > Does anybody have advice of what I could try next? > > Thanks in advance, > > Niall Bolger > > Details of the error I get when I try to load the Matrix package: > > *> library(Matrix) > Loading required package: lattice > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared library > '/usr/lib/R/site-library/Matrix/libs/Matrix.so': > libRlapack.so: cannot open shared object file: No such file or > directory > Error: package/namespace load failed for 'Matrix'* > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian >
Michael Rutter
2008-Dec-05 19:26 UTC
[R-sig-Debian] Problem loading Matrix package in Ubuntu R 2.8.0
Niall, What version of Matrix are you using? In R, execute: library(help = Matrix) It will generate a long list of things, but the version number will be near the top. Thanks, Michael Niall Bolger wrote:> Dear List: > > I'm having the same problem that was reported recently. The > latest version of R cannot load the Matrix package, even though it is > installed and readable. I've read the archive files for this list and > tried the suggested solutions (e.g., removing/uninstalling the Matrix > package and reinstalling it). Nothing has worked so far. > > Does anybody have advice of what I could try next? > > Thanks in advance, > > Niall Bolger > > Details of the error I get when I try to load the Matrix package: > > *> library(Matrix) > Loading required package: lattice > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared library > '/usr/lib/R/site-library/Matrix/libs/Matrix.so': > libRlapack.so: cannot open shared object file: No such file or > directory > Error: package/namespace load failed for 'Matrix'* > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian-- Dr. Michael A. Rutter School of Science Penn State Erie, The Behrend College Station Road Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter
Niall Bolger
2008-Dec-05 21:00 UTC
[R-sig-Debian] Problem loading Matrix package in Ubuntu R 2.8.0
Dear Michael:
Your suggestion worked. I used install.packages("Matrix"), picked a
mirror
in Zurich, Switzerland, and after a lot of copying and organizing, R
reported having a working version of Matrix. My version is now 0.999375-16,
not 0.999375-3. By the way, the old mirror I was using was stat.cmu.edu.
Thanks so much for you kind attention.
Sincerely,
Niall Bolger
On Fri, Dec 5, 2008 at 3:15 PM, Michael Rutter <mar36@psu.edu> wrote:
> Niall,
>
> I think that is your problem. The latest version of CRAN, and the one I
> have installed, is 0.999375-16. Now, this may be because you are using a
> mirror that has not been updated, or you have an old version stored
locally.
> If you launch R using sudo, then use install.packages("Matrix"),
it should
> ask which mirror to use. Maybe update.packages() will work, too.
>
> If you get the latest version, it may solve your problem.
>
>
> Michael
>
> Niall Bolger wrote:
>
>> Dear Michael:
>>
>> I've done what you said and I get a message saying that the
>>
>> Version is 0.999375-3
>>
>> Niall
>>
>> On Dec 5, 2008, at 2:26 PM, Michael Rutter wrote:
>>
>> Niall,
>>>
>>> What version of Matrix are you using? In R, execute:
>>>
>>> library(help = Matrix)
>>>
>>> It will generate a long list of things, but the version number will
be
>>> near the top.
>>>
>>> Thanks,
>>> Michael
>>>
>>> Niall Bolger wrote:
>>>
>>>> Dear List:
>>>> I'm having the same problem that was reported recently. The
>>>> latest version of R cannot load the Matrix package, even though
it is
>>>> installed and readable. I've read the archive files for
this list and
>>>> tried the suggested solutions (e.g., removing/uninstalling the
Matrix
>>>> package and reinstalling it). Nothing has worked so far.
>>>> Does anybody have advice of what I could try next?
>>>> Thanks in advance,
>>>> Niall Bolger
>>>> Details of the error I get when I try to load the Matrix
package:
>>>> *> library(Matrix)
>>>> Loading required package: lattice
>>>> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>>>> unable to load shared library
>>>> '/usr/lib/R/site-library/Matrix/libs/Matrix.so':
>>>> libRlapack.so: cannot open shared object file: No such file or
>>>> directory
>>>> Error: package/namespace load failed for 'Matrix'*
>>>> [[alternative HTML version deleted]]
>>>> _______________________________________________
>>>> R-SIG-Debian mailing list
>>>> R-SIG-Debian@r-project.org
>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>>>>
>>>
>>> --
>>> Dr. Michael A. Rutter
>>> School of Science
>>> Penn State Erie, The Behrend College
>>> Station Road
>>> Erie, PA 16563
>>> http://math.bd.psu.edu/faculty/rutter
>>>
>>
>>
> --
> Dr. Michael A. Rutter
> School of Science
> Penn State Erie, The Behrend College
> Station Road
> Erie, PA 16563
> http://math.bd.psu.edu/faculty/rutter
>
[[alternative HTML version deleted]]