[R] Fortran compilation problem

Douglas Bates bates at stat.wisc.edu
Sun Mar 30 22:32:59 CEST 2003

Philippe Hupé <philippe.hupe at wanadoo.fr> writes:

> I have the 1.6.2 version installed on Debian Linux woody (deb packages have 
> been downloading from CRAN)

Under Debian you should install the r-base-dev package (also available
on CRAN) if you wish to compile and install R packages with Fortran or
C source code.

The r-base-dev package will require several other packages
 $ dpkg-deb --info r-base-dev_1.6.2-1_all.deb 
 new debian package, version 2.0.
 size 1628 bytes: control archive= 1256 bytes.
    1195 bytes,    25 lines      control              
     269 bytes,     9 lines   *  postinst             #!/bin/sh
     425 bytes,    26 lines   *  preinst              #!/bin/sh
     202 bytes,     7 lines   *  prerm                #!/bin/sh
 Package: r-base-dev
 Version: 1.6.2-1
 Section: devel
 Priority: optional
 Architecture: all
 Depends: r-base-core, blas-dev (>= 1.0-9), build-essential, g77 | g77-3.0 | f2c | fortran77-compiler , gcc | gcc-3.0 | c-compiler, g++ | g++-3.0, libncurses5-dev, libreadline4-dev
 Installed-Size: 32
 Maintainer: Dirk Eddelbuettel <edd at debian.org>
 Source: r-base
 Description: GNU R installation of auxiliary GNU R packages
  R is `GNU S' - A language and environment for statistical computing
  and graphics. R is similar to the award-winning S system, which was
  developed at Bell Laboratories by John Chambers et al. It provides a
  wide variety of statistical and graphical techniques (linear and
  nonlinear modelling, statistical tests, time series analysis,
  classification, clustering, ...).
  R is designed as a true computer language with control-flow
  constructions for iteration and alternation, and it allows users to
  add additional functionality by defining new functions. For
  computationally intensive tasks, C, C++ and Fortran code can be
  linked and called at run time.
  This packages ensures that other Debian packages needed for installation of
  some auxiliary R packages are installed.

More information about the R-help mailing list