For a brief description of this package, see the DESCRIPTION file.

For the usage documentation, see the inline help in 'R' with
the command '?rirt'.

Installation from a pre-built package in Windows
================================================

The simplest way to install this package in 'R' for Windows is to
download a pre-built package. These packages are available from
'http://libirt.sf.net', they are named 'rirt_?.?.?.zip'.

To installed a pre-built package, start 'R' and used the
'Install packages from local zip files' options of the 'Packages'
menu.

Then in 'R' use 'library(rirt)' to load the package, and
consult the documentation with '?rirt'.

Installation from a source package in Windows
=============================================

If you really can't install a pre-built package:

     1. Download and install 'MinGW', 'MSYS' and 'msysDTK' from
        'http://www.mingw.org/', 'Active Perl' from
        'http://www.activestate.com/' and some tools from 
        'http://www.murdoch-sutherland.com/Rtools/tools.zip'.
        This last link no longer works, you should now install
        'Rtools' from 'http://www.murdoch-sutherland.com/Rtools/'
        which includes 'MinGW', 'Perl' and the tools.
        Make sure that your path include the binaries of these
        projects in that order : 'Active Perl', 'Rtools', 'MinGW',
        'MSYS' and 'R'.

     2. Download and install the 'GNU Scientific Library' from 
        'http://www.gnu.org/software/gsl/' and the 'libirt' 
        library from 'http://libirt.sf.net'. Follow the installation
        instructions at the end of the 'INSTALL' file of 'libirt'.

     3. Edit src/Makevars.win to reflect the path to gsl and libirt.

     4. Open a Windows' command prompt and type:

        R CMD INSTALL rirt

        where 'rirt' is the uncompress source package.

        Or type:

        R CMD build --binary rirt

        to build a pre-built package.

Installation from a source package in Linux
===========================================

     1. Download and install the 'GNU Scientific Library' from 
        'http://www.gnu.org/software/gsl/' and the 'libirt' 
        library from 'http://libirt.sf.net'. Follow the installation
        instructions at the end of the 'INSTALL' file of 'libirt'.

     2. Use this command to install the package:

        R CMD INSTALL rirt

        where 'rirt' is the uncompress the source package.

     If you want to install without root privilege, add this
     to your profile (.bash_profile):

     export PATH=$PATH:~/local/bin
     export R_LIBS=~/local/lib/R/library
     export LD_RUN_PATH=~/local/lib
     export LIBRARY_PATH=~/local/lib
     export C_INCLUDE_PATH=~/local/include
     export MANPATH=$MANPATH:~/local/share/man

     and add --prefix=~/local when configuring 'gsl' and 'libirt'.

Installation in MacOS X
=======================

If you want to try to compile this package for MacOS,
contact me <germste@gmail.com>.
