HowToInstallRSPerl

From BRF-Software
Revision as of 14:37, 22 May 2006 by imported>MichaelDondrup
Jump to navigation Jump to search

Short Installation instructions for RSPerl

Follow these instructions to install RSPerl for EMMA. If you also want to use RSPerl for another purpose (e.g. Perl from R), you should also consider the original installation instructions.

Please report any problems related to RSPerl to the omega help mailing list: omega-help@eeyore.ucdavis.edu

Prerequisites

  • Perl
  • R

both installed and working. R needs to be configured with --enable-r-shared switch (which is the case by default).

Obtaining the sources

-- MichaelDondrup DateTime(2006-05-22T13:37:36Z) /!\ The current version (0.8-1) has a bug that prevents EMMA to function with it.

Please use the following patched version (0.8.0.2) until the problem is continously solved:

Note that it has been tested only on FreeBSD 5.4 and Solaris 2.9, up to now.

(Otherwise, you could: download the latest RSPerl Sources from http://www.omegahat.org/RSPerl/index.html.)

Installation

You need to be a privileged user to install RSPerl in the standard location of R libraries and Perl modules. At the console, type:


radmin#  R CMD INSTALL --configure-args='--with-in-perl --with-modules=""' RSPerl_X.tar.gz 

(replace X with the actual version).

System specific issues

FreeBSD

RSPerl uses GNU make features. To be able to install RSPerl on systems, where make is not GNU make by default, do the following prior to running R CMD INSTALL (provided you are using bash):


radmin#  export MAKE=gmake