Skip to content

installing lme4.0 on OS X 10.9

4 messages · Cole, Tim, Roger Levy, Simon Urbanek

#
Roger does not seem to have a working Fortran compiler which is required for lme4. He may want to install one, e.g. from
http://cran.r-project.org/bin/macosx/tools/

BTW: please don't point people to obsolete SO posts - the proper cure to most Mavericks problems is to simply install more recent build of R.

Cheers,
Simon
On Feb 10, 2014, at 6:09 AM, Cole, Tim <tim.cole at ucl.ac.uk> wrote:

            
#
Thank you!  Installing gfortran-4.2.3.pkg fixed things.  FWIW, it was indeed the most recent build of R that I had installed.

So that I (and perhaps other list members) understand the issues more completely: one thing that was very confounding to me is that installing gcc49 via MacPorts *does* provide a Fortran compiler, which goes in /opt/local/bin/gfortran.  However, I couldn?t figure out how to get R to use this compiler.  Perhaps this requires properly setting variables in ~/.R/Makevars, but I couldn?t figure out what the proper settings would be.  Do you have any guidance on this?

Best & thanks once more.

Roger
On Feb 10, 2014, at 11:08 AM, Simon Urbanek <simon.urbanek at r-project.org> wrote:

            
#
On Feb 10, 2014, at 1:26 PM, Levy, Roger <rlevy at ucsd.edu> wrote:

            
The CRAN build is a native build of R and only supports native compilers. If you use MacPorts you're entirely on your own - you may want to use MacPorts R in that case or compile everything from sources accordingly.

Cheers,
Simon