by "gfortran from CRAN" I do mean the gfortran for snow leopard on that 
website. But it does install cc1 and if you read the text displayed in the 
installer windows you will find the Xcode 3.2 problem I said (after click the 
first continue).
It says,

Requirements:

 * Mac OS X 10.6 (Snow Leopard)

 * Xcode 3.2 (with gcc 4.2 build 5646)
        or
   Xcode 3.2.1 (with gcc 4.2 build 5646.1)

This package adds GNU Fortran to the Apple GCC suite provided by Xcode 3.2. 
Installation over later versions of Xcode is not recommended since it will 
install cc1 from gcc-4.2 build 5646 (changes in Xcode 3.2.1 were marginal and 
thus should not be affected). The package installs in the system location, 
SDK/Platforms are not touched.

3.2.1 is marginal, so how about 3.2.2 and any future release. In general, by 
what criteria a fortran compiler is useful with R? 


On 28 Apr 2010, at 21:35, Roy Mendelssohn wrote:

> Do you scroll down far enough on the R Mac tools web page  
> (http://r.research.att.com/tools/)
> 
> Go down till you see:
> 
> Alternative and experimental tools
> 
> GNU Fortran 4.2.4 for Mac OS X 10.6 (Snow Leopard):
> Download: gfortran-42-5646.pkg (for Xcode 3.2 and 3.2.1)
> This package adds GNU Fortran to Xcode 3.2 for Snow Leopard (Apple's gcc 4.2 
> build 5646). Requires Mac OS X 10.6 (Snow Leopard) and Xcode 3.2 (or 3.2.1).
> Dynamic libgfortran: libgfortran-4.2.4-5646.tar.gz (NOT needed for R)
> The compiler above contains static libgfortran. To avoid library pollution 
> the dynamic gfortran library is not included since it is not necessary for 
> most projects and causes problems for people that don't have it installed at 
> run-time. If you know what you're doing, you can install it, but be aware 
> that your FORTRAN binaries will depend on it and OS X does NOT include it.
> Install: sudo tar fxz libgfortran-4.2.4-5646.tar.gz -C /
> 
> 
> 
> -Roy
> 
> 
> 
> On Apr 28, 2010, at 1:26 PM, Yan Zhou wrote:
> 
>> I have a some sort silly question. Which fortran compiler is usable with R, 
>> e.g., building package from source.
>> 
>> I intended to install the gfortran from CRAN. But noticed that it will 
>> install cc1 and the text in installer stated that it is not recommended to 
>> install it with Xcode later than 3.2. I have 3.2.2 installed right now.
>> 
>> Besides I find on the website that gfortran from HPC will not work.
>> 
>> So my question is that, what is the problem with the HPC version of 
>> gfortran. What is the criteria for a fortran compiler to be usable with R. I 
>> have intel fortran compiler installed. I managed to use it to compile a 
>> usable R-devel build from source. However, successful compiling doesn't 
>> imply that the generated code has no problem.
>> 
>> Many thanks in advance.
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac@stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> **********************
> "The contents of this message do not reflect any position of the U.S. 
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> 1352 Lighthouse Avenue
> Pacific Grove, CA 93950-2097
> 
> e-mail: roy.mendelss...@noaa.gov (Note new e-mail address)
> voice: (831)-648-9029
> fax: (831)-648-8440
> www: http://www.pfeg.noaa.gov/
> 
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected" 
> 


        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to