R

From CBLFS
Revision as of 20:27, 6 November 2006 by Weibullguy (talk | contribs)
Jump to navigationJump to search
Download Source: http://lib.stat.cmu.edu/R/CRAN/src/base/R-2/R-2.4.0.tar.gz

R is GNU S - A language and environment for statistical computing and graphics.

Dependencies

Required

  • GMP
  • MPFR
  • GCC compiled to include F77 (<4.X.X) or gfortran (>=4.X.X). f2c won't work on a 64-bit arch.

Optional

Non-Multilib

Compile the package:

   CFLAGS="-std=gnu99" ./configure --prefix=/opt/R --libdir=/opt/R/lib \
   --enable-R-profiling --enable-R-shlib --enable-linux-lfs \
   --with-tcltk --with-tcl-config=/usr/lib/tclConfig.sh \
   --with-tk-config=/usr/lib/tkConfig.sh &&
   make

You must include CFLAGS="-std=gnu99" or R will have problems installing add-on packages. If you have a pure 64-bit system, R will install it's libraries in /opt/R/lib64 by default. If you are using a system-wide BLAS and/or LAPACK library, add --with-blas and/or --with-lapack to the configure options.

To build the optional documentation, execute one or more of the following:

   make dvi	to create DVI versions
   make pdf	to create PDF versions
   make info	to create info files

Install the package:

   make install

Multilib

32Bit

Compile the package:

   CC="gcc ${BUILD32} CFLAGS="-std=gnu99" ./configure \
   --prefix=/opt/R --libdir=/opt/R/lib --enable-R-profiling \
   --enable-R-shlib --enable-linux-lfs --with-tcltk \
   --with-tcl-config=/usr/lib/tclConfig.sh \
   --with-tk-config=/usr/lib/tkConfig.sh &&
   make

You must include CFLAGS="-std=gnu99" or R will have problems installing add-on packages. If you are using a system-wide BLAS and/or LAPACK library, add --with-blas and/or --with-lapack to the configure options.

Install the package:

   make install

64Bit

Compile the package:

   CC="gcc ${BUILD64} CFLAGS="-std=gnu99" ./configure \
   --prefix=/opt/R --libdir=/opt/R/lib --enable-R-profiling \
   --enable-R-shlib --enable-linux-lfs --with-tcltk \
   --with-tcl-config=/usr/lib/tclConfig.sh \
   --with-tk-config=/usr/lib/tkConfig.sh &&
   make

You must include CFLAGS="-std=gnu99" or R will have problems installing add-on packages. If you are using a system-wide BLAS and/or LAPACK library, add --with-blas and/or --with-lapack to the configure options.

To build the optional documentation, execute one or more of the following:

   make dvi	to create DVI versions
   make pdf	to create PDF versions
   make info	to create info files

Install the package:

   make install

Install the optional documentation:

   make install-dvi
   make install-info
   make install-pdf

Contents

Retrieved from "?title=R&oldid=3824"