Skip to content
Prev 1725 / 15076 Next

R Package compilation problem with Fortran

My perspective is...

(1) If you build R from sources, and /sw (fink) is present on your 
system at the time you configure R, then R knows (internally, so to 
speak) about /sw, and will later on include it among the places it 
looks for things when you install packages.

(2) The binary version of R for OS X that you downloaded from CRAN 
was built without any dependencies on fink, so it does not 
(internally, so to speak) know about /sw, and does not look there for 
things. This is a good thing, because many, if not most, users of R 
who install the binary will not want to deal with add-on systems like 
fink. The developers/maintainers of R for OS X do not want to impose 
a requirement for fink on R uses, and this is appropriate.

My suggestion is to go to the help pages for the OS X version of R 
(the links are at the bottom of the download page, where it says "You 
may also want to read the R FAQ and R for Mac OS X FAQ or consult the 
developer page of R for Mac OS X."). Follow the instructions there to 
obtain a fortran that installs in /usr/local/bin. For example, on my 
system:

[153]% which g77
/usr/local/bin/g77

If you have g77 there, I am reasonably confident your version of R 
will find it when installing packages.

-Don
At 12:11 AM -0400 6/10/05, Brian Beckage wrote: