[R-SIG-Mac] .... Matrix broken on Mac...
Martin Maechler
maechler at stat.math.ethz.ch
Wed Dec 3 10:43:46 CET 2008
This was on the wrong mailing list (R-SIG-mixed-models),
but I strongly believe belongs here.
As one of the two maintainers of Matrix,
I'm very interested to here if really there are still/again
problems with the *R-forge* (or CRAN) version of Matrix on the Mac.
We have made several efforts, partially prompted and aided by
Simon Urbanek, to get the issues (mostly related to building a
"fat binary", IIRC) resolved.
Dave, did you install the R-forge version
with
install.packages("Matrix",repos="http://R-Forge.R-project.org")
{as it is recommended}?
Best regards,
Martin
>>>>> "DA" == Dave Atkins <datkins at fuller.edu>
>>>>> on Mon, 01 Dec 2008 11:39:18 -0800 writes:
DA> Douglas Bates wrote:
>> Does
>>
>> library(Matrix)
>>
>> without any reference to lme4 work for you?
DA> No, if I start a fresh R session and call Matrix on its
DA> own, I get:
>> library(Matrix)
DA> Loading required package: lattice Error in
DA> dyn.load(file, DLLpath = DLLpath, ...) : unable to load
DA> shared library
DA> '/Library/Frameworks/R.framework/Resources/library/Matrix/libs/i386/Matrix.so':
DA> dlopen(/Library/Frameworks/R.framework/Resources/library/Matrix/libs/i386/Matrix.so,
DA> 6): Library not loaded:
DA> /usr/local/lib/libgfortran.2.dylib Referenced from:
DA> /Library/Frameworks/R.framework/Resources/library/Matrix/libs/i386/Matrix.so
DA> Reason: image not found Error: package/namespace load
DA> failed for 'Matrix'
>> sessionInfo()
DA> R version 2.8.0 (2008-10-20) i386-apple-darwin8.11.1
DA> locale:
DA> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
DA> attached base packages: [1] stats graphics grDevices
DA> utils datasets methods base
DA> other attached packages: [1] lattice_0.17-17
DA> loaded via a namespace (and not attached): [1]
DA> grid_2.8.0
>>
Any ideas? Anything else I can pass along?
DA> thanks, Dave
>>
>> The other person who was having difficulty loading the
>> Matrix package on a Mac was able to resolve the problem
>> although I forget the details of how it was resolved.
>>
>> The messages indicate that the problem is more with
>> Matrix than with lme4.
>>
>> On Mon, Dec 1, 2008 at 12:26 PM, Dave Atkins
>> <datkins at fuller.edu> wrote:
>>> [whoops, first sent this from my current email, which
>>> the listserv didn't recognize. apologies if this comes
>>> through twice.]
>>
>> And it did come through twice. I read the messages in
>> the wrong order and authorized the posting from the other
>> address before reading this message. Sorry for the extra
>> noise.
>>
>>> Doug--
>>>
>>> You had inquired whether anyone else was having problems
>>> with Matrix on a Mac... yep. I am. You'll see below
>>> that I removed both lme4 and Matrix, re-install from
>>> r-forge, but get an error msg. sessionInfo() at bottom.
>>>
>>> Could someone point me to an earlier version of Matrix?
>>> I don't believe I had this problem prior to the most
>>> recent update.
>>>
>>> cheers, Dave
>>>
>>> Dave Atkins, PhD Research Associate Professor Center for
>>> the Study of Health and Risk Behaviors Department of
>>> Psychiatry and Behavioral Science 1100 NE 45th Street,
>>> Suite 300 Seattle, WA 98105 206-616-3879
>>> datkins at u.washington.edu
>>>
>>>
>>>> remove.packages("Matrix")
>>> Warning in remove.packages("Matrix") : argument 'lib' is
>>> missing: using
>>> /Library/Frameworks/R.framework/Resources/library
>>>> remove.packages("lme4")
>>> Warning in remove.packages("lme4") : argument 'lib' is
>>> missing: using
>>> /Library/Frameworks/R.framework/Resources/library
>>>> install.packages("Matrix", repos =
>>>> "http://r-forge.r-project.org")
>>> trying URL
>>> 'http://r-forge.r-project.org/bin/macosx/universal/contrib/2.8/Matrix_0.999375-17.tgz'
>>> Content type 'application/x-gzip' length 2740286 bytes
>>> (2.6 Mb) opened URL
>>> ==================================================
>>> downloaded 2.6 Mb
>>>
>>>
>>> The downloaded packages are in
>>>
>>> /var/folders/eF/eFm91WFiEm8IX1HSzMCn4E+++TI/-Tmp-//RtmpVgGfBC/downloaded_packages
>>>> install.packages("lme4", repos =
>>>> "http://r-forge.r-project.org")
>>> trying URL
>>> 'http://r-forge.r-project.org/bin/macosx/universal/contrib/2.8/lme4_0.999375-27.tgz'
>>> Content type 'application/x-gzip' length 913761 bytes
>>> (892 Kb) opened URL
>>> ==================================================
>>> downloaded 892 Kb
>>>
>>>
>>> The downloaded packages are in
>>>
>>> /var/folders/eF/eFm91WFiEm8IX1HSzMCn4E+++TI/-Tmp-//RtmpVgGfBC/downloaded_packages
>>>> library(lme4)
>>> Loading required package: Matrix Error in dyn.load(file,
>>> DLLpath = DLLpath, ...) : unable to load shared library
>>> '/Library/Frameworks/R.framework/Resources/library/Matrix/libs/i386/Matrix.so':
>>>
>>> dlopen(/Library/Frameworks/R.framework/Resources/library/Matrix/libs/i386/Matrix.so,
>>> 6): Library not loaded:
>>> /usr/local/lib/libgfortran.2.dylib Referenced from:
>>> /Library/Frameworks/R.framework/Resources/library/Matrix/libs/i386/Matrix.so
>>> Reason: image not found Error: package 'Matrix' could
>>> not be loaded
>>>> sessionInfo()
>>> R version 2.8.0 (2008-10-20) i386-apple-darwin8.11.1
>>>
>>> locale:
>>> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>>>
>>> attached base packages: [1] stats graphics grDevices
>>> utils datasets methods base
>>>
>>> other attached packages: [1] lattice_0.17-17
>>>
>>> loaded via a namespace (and not attached): [1]
>>> grid_2.8.0 tools_2.8.0
>>>
>>> _______________________________________________
>>> R-sig-mixed-models at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>>>
>>
_______________________________________________
DA> R-sig-mixed-models at r-project.org mailing list
DA> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
More information about the R-SIG-Mac
mailing list