Skip to content
Prev 75478 / 398502 Next

g77 and R

Installing R packages (sets of statistical analysis functions for specific
types of problems) is usually very simple. If the R package is in a
repository, then something like:
will automatically find, download, compile c and fortran code (if
necessary), and put the package functions from the foreign and chron
packages into the library. It's usually painless and simple - all the
details automatically handled. Since gfortran was installed, a number of
packages have failed to compile properly and weren't installed. I have
never had a problem installing R packages until very recently - I suspect
when gfortran was foisted on us unawares.

Before FC changed to gfortran, g77 was always used. All I want to do is to
make sure that if fortran code needs to be compiled, g77 will be used. I
don't think R knows anything about gfortran or g77 - it just uses what is
available on a given system - so this is something I need to change on FC4
- not R.

Rick