[R] Using standard compilers (was recommended linux environment for R)

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sat Jul 8 19:45:31 CEST 2000

On Thu, 6 Jul 2000, Christian Hennig wrote:

> Hello,
> > Jens Oehlschlägel wrote:
> > > 
> > > Hello,
> > > 
> > > I'd like to ask whether there is a prefered linux distribution for use with
> > > R (Suse, Redhat, Debian) 
> > >and what fortran compiler is recommended (f77 or
> > > f2c)?
> > 
> > f2c is not a compiler. It converts fortran code to c code. You need one
> > of this if you want to compile R on your own. The configure script looks
> > for a fortran compiler and if it doesn´t find one, it searches for f2c.
> > Don´t know if you need this when installing one of the R-binary
> > distributions. But you also need f77 or f2c to install a source contrib
> > package. I´m using f2c and havn´t any trouble yet.
> I needed f2c (or some associated libraries) to get the add-on package
> mclust to start. (Compilation did work, but some functions did not.)
> g77/f77 did not suffice, neither on Solaris, nor on SuSe Linux.
> Perhaps this changed in the meantime, since this experience is almost a year
> old. I would appreciate if all packages could be compiled by use of the same
> standard compilers.

mclust 1.1-1 works for me with each of g77 and f77 on Solaris, and g77 on
RH6.0 Linux. I suspect you were using an older version, which did have
problems unless f2c was used.

I know of no other examples of packages on CRAN with such problems. (mclust
has problems under Windows of a different kind due to a lack of checks for
division by zero in the Fortran code).

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list