[R-SIG-Mac] [R-sig-ME] unable to install LME4 in R 2.6.2 on an Intel Mac

Simon Urbanek simon.urbanek at r-project.org
Fri Apr 18 18:29:08 CEST 2008

On Apr 18, 2008, at 11:48 AM, Douglas Bates wrote:

> What version of R do you have installed on the Intel Mac?
> I suggest you take the problem to the R-SIG-Mac list.  It appears  
> that there is a mismatch between the libraries on the machine that  
> generated the Mac binary package and your machine.

It appears that he is not using our binaries at all which is why he  
runs into problems (it is unclear because he failed to supply basic  

> Needing to install certain versions of libraries in /usr/local is  
> one of the reasons that I don't bother trying to run R on a Mac,  
> other than for the vanilla stuff.

The seems to be a rather wide-spread urban legend. R does *not*  
install anything in /usr/local, it is completely independent of /usr/ 
local for its functionality. We go into great lengths to provide self- 
contained binaries even for some packages that require 3rd party  
libraries. The only exception to this rule are some UI kits as there  
is no way to embed them (without installing them into R framework  
The R installer provides *optional* tools that can be installed in / 
usr/local if desired, but those are not necessary in order to run R  
(and are not part of R itself).


> On 4/18/08, orzack <orzack at freshpond.org> wrote:
>>  the new version of LME4 (0.99375-13) installs (and works!) on a
>> Power PC Mac (OS X 10.4.10). However, it will not load on an Intel
>> Mac (also OS X 10.4.10).  I get the following message:
>> Error in dyn.load(file, ...) :
>>   unable to load shared library
>> '/Users/stevenorzack/Library/R/2.6/library/lme4/libs/i386/lme4.so':
>> dlopen(/Users/stevenorzack/Library/R/2.6/library/lme4/libs/i386/ 
>> lme4.so,
>> 6): Library not loaded: /usr/local/lib/libgfortran.2.dylib
>>   Referenced from:
>> /Users/stevenorzack/Library/R/2.6/library/lme4/libs/i386/lme4.so
>>   Reason: image not found
>> Error: package/namespace load failed for 'lme4'
>> help will be much appreciated!
>> S.
>> --
>> Steven Orzack
>> The Fresh Pond Research Institute
>> 173 Harvey Street
>> Cambridge, MA. 02140
>> 617 864-4307
>> www.freshpond.org
>> _______________________________________________
>> R-sig-mixed-models at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

More information about the R-SIG-Mac mailing list