From simon.urbanek at r-project.org  Fri Jul 25 17:50:30 2014
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Fri, 25 Jul 2014 11:50:30 -0400
Subject: [Rd] [R-SIG-Mac]  R-3.1.1 - R CMD INSTALL problem
In-Reply-To: <8F36E8A9-B021-4CAA-82A5-56EC6EAF9950@illinois.edu>
References: <FB8776EE-B310-4C1D-A07C-B600BEED83B7@gmail.com>
	<85b07415be0f4c80893ee011dac466c6@CHIHT1.ad.uillinois.edu>
	<8F36E8A9-B021-4CAA-82A5-56EC6EAF9950@illinois.edu>
Message-ID: <BD2E1D48-957E-4FB1-BC86-4F5239B61EBD@r-project.org>

On Jul 25, 2014, at 11:25 AM, Roger Koenker <rkoenker at illinois.edu> wrote:

> FWIW when I installed R-devel  a week or so ago, I had to also install gfortran-4.8.2-darwin13.tar.bz2 from 
> 
> http://r.research.att.com/libs/
> 
> well "had to"  is perhaps too strong, but I was seeing complaints about not running 4.8 and they went away
> after this install.
> 

Ah, I think you're talking about the Mavericks builds. That one is indeed using GNU Fortran 4.8.2, but it should technically work even with the 4.2 CRAN Fortran. The only issue is that it uses the gfortran-4.8 name with version, so apart from symlinking the versions the easiest way is to install the binary above.

Thanks,
Simon


> Roger
> 
> url:    www.econ.uiuc.edu/~roger            Roger Koenker
> email    rkoenker at uiuc.edu            Department of Economics
> vox:     217-333-4558                University of Illinois
> fax:       217-244-6678                Urbana, IL 61801
> 
> On Jul 25, 2014, at 8:14 AM, Simon Urbanek <simon.urbanek at r-project.org> wrote:
> 
>> Eduardo,
>> 
>> On Jul 24, 2014, at 8:37 PM, Eduardo M. A. M.Mendes <emammendes at gmail.com> wrote:
>> 
>>> Hello
>>> 
>>> I have recently upgraded R to the newest version.  Unfortunately my old (fortran and C) R-package cannot be installed anymore (was built before R 3.0.0: please re-install it). 
>>> 
>>> I have tried R CMD INSTALL package_name but I noticed that R-3.1.1-binary-mac requests gcc-4.8.2 and specific locations for the libraries (gcc and gfortran).  
>> 
>> No, it doesn't. You must be using some other binary that the official CRAN one (http://cran.r-project.org/bin/macosx )
>> Our binaries only use standard Apple compilers (from Xcode - in recent OS X versions you can use xcode-select --install on the command line to install) plus a GNU Fortran that you can download from CRAN.
>> 
>> 
>>> Can someone point me to the documentation on how to install  gcc as R requires, please?
>>> 
>>> Please note that I have used "brew install gcc" on another mac and soft linked all the necessary libraries so that gcc-4.9.1 can be used as 4.8 (as R requires). However I would like a clean installation.
>>> 
>> 
>> I you use brew, then you're on your own and you should refer to their support. Our builds do not require brew (or any other 3rd party build system).
>> 
>> Cheers,
>> Simon
>> 
>> PS: Please note that R-SIG-Mac is the proper mailing list for Mac-specific questions.
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



[Rd] [R-SIG-Mac] R-3.1.1 - R CMD INSTALL problem
Simon Urbanek