Issue resolved.

I was unaware of the ~/.R/Makevars file, which indeed was specifying the wrong 
gfortran compiler.  To build the fields package correctly, I needed to specify 
the correct compiler and architecture in that file, as:

F77=/usr/local/bin/gfortran-4.2 -arch x86_64

Interesting that the .R/Makevars would override Makevars specified as arguments 
to install.packages().  Is this correct behavior?

Thanks to Davor Cubranic and Professor Ripley for help on this matter.

Best,

Andy


On Thu 09 May 2013, at 24:40 , Prof Brian Ripley wrote:

> If you are not using the recommended compiler with a CRAN binary build you 
> should set some variables in ~/.R/Makevars: see 
> http://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X-packages .

-- 
Andy Jacobson
[email protected]

NOAA Earth System Research Lab
Global Monitoring Division
325 Broadway
Boulder, Colorado 80305

303/578-2237

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to