[R-SIG-Mac] Which Fortran Compiler is usable

Yan Zhou zhouyan1014 at gmail.com
Wed Apr 28 22:26:03 CEST 2010


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.


More information about the R-SIG-Mac mailing list