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

Roger Koenker rkoenker at illinois.edu
Fri Jul 25 18:09:36 CEST 2014


Yes,  Mavericks as I should have mentioned.  Anyway,  thanks for providing the 4.8 version, this made it all very
convenient, and I always have more confidence when downloading R tools of yours, rather than exploring further
afield.

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 10:50 AM, Simon Urbanek <simon.urbanek at r-project.org> wrote:

> 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
>> 



More information about the R-SIG-Mac mailing list