R
From HCL
Installation from sources
1. R sould be configured as a shared library
$ ./configure --prefix=DIR --enable-R-shlib=yes
$ make install
2. Set up environment
$ export R_HOME=DIR/lib/R
$ export LD_LIBRARY_PATH=$R_HOME/lib:$LD_LIBRARY_PATH
3. Install required packages
$ DIR/bin/R
> install.packages(c(”sandwich”, ”strucchange”, ”zoo”))
4. Set up developer environment
$ export CPATH=$R_HOME/include:$CPATH
$ export LIBRARY_PATH=$R_HOME/lib:$LIBRARY_PATH