r version 2.6.1 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    r  most recent diff


      View the most recent changes for the r port at: r.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for r.
      The raw portfile for r 2.6.1 is located here:
      http://r.darwinports.com/dports/math/R/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/r
      Google
      Web Darwinports.com



      # $Id: Portfile 32414 2007-12-30 06:39:00Z ryandesign macports.org $

      PortSystem 1.0
      Name: R
      Version: 2.6.1
      Category: math science
      Maintainers: konis stats.ox.ac.uk
      Platform: darwin

      Description: R is GNU S - an interpreted language for statistical computing

      Long Description: R is a language and environment for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.

      Homepage: http://www.r-project.org/

      master_sites http://cran.us.r-project.org/src/base/R-2/ http://cran.au.r-project.org/src/base/R-2/ http://cran.at.r-project.org/src/base/R-2/ http://cran.hu.r-project.org/src/base/R-2/ http://cran.r-project.org/src/base/R-2/

      checksums md5 19c35a69e1afa73f5f70f91ff9939233 sha1 6f2c8694f1935fda382796d225e45bd6f8f7755b rmd160 0e50237916e03c9b88ab558c39a9a587aabf4991

      depends_lib port:gcc42 port:readline port:gettext port:tcl port:tk lib:libjpeg:jpeg lib:libpng:libpng

      configure.compiler macports-gcc-4.2

      configure.args --mandir=\\\${prefix}/share/man --enable-R-shlib --with-blas='-framework vecLib' --with-lapack --disable-R-framework --without-aqua --with-tcl-config=${prefix}/lib/tclConfig.sh --with-tk-config=${prefix}/lib/tkConfig.sh

      test.run yes
      test.target check
      destroot.destdir prefix=${destroot}${prefix}

      post-destroot {
      reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" "${destroot}${prefix}/bin/R"
      reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" "${destroot}${prefix}/lib/R/bin/R"
      reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" "${destroot}${prefix}/bin/R"
      reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" "${destroot}${prefix}/lib/R/bin/R"
      reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" "${destroot}${prefix}/bin/R"
      reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" "${destroot}${prefix}/lib/R/bin/R"
      reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" "${destroot}${prefix}/bin/R"
      reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" "${destroot}${prefix}/lib/R/bin/R"
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/r
      % sudo port install r
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching r
      ---> Verifying checksum for r
      ---> Extracting r
      ---> Configuring r
      ---> Building r with target all
      ---> Staging r into destroot
      ---> Installing r
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using r with these commands:
      %  man r
      % apropos r
      % which r
      % locate r

     Where to find more information:

    Darwin Ports



    image test