HowToInstallRSPerl: Difference between revisions

From BRF-Software
Jump to navigation Jump to search
imported>MichaelDondrup
No edit summary
imported>MichaelDondrup
No edit summary
Line 2: Line 2:
= Short Installation instructions for RSPerl =
= Short Installation instructions for RSPerl =


Follow these instructions to install RSPerl for EMMA. If you also want to use RSPerl for another purpose, you should follow the original installation instructions.
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 ==
== Prerequisites ==
Line 8: Line 11:
* Perl
* Perl
* R  
* R  
both installed and working.
both installed and working.
R needs to be configured with --enable-r-shared switch (which is the case by default).


== Obtaining the sources ==
== Obtaining the sources ==


Download the latest RSPerl Sources from http://www.omegahat.org/RSPerl/index.html.
-- [[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 ==
== Installation ==


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




<pre><nowiki>
<pre><nowiki>
root#  R CMD INSTALL --configure-args='--with-in-perl --with-modules=""' RSPerl_X.tar.gz  
radmin#  R CMD INSTALL --configure-args='--with-in-perl --with-modules=""' RSPerl_X.tar.gz  
</nowiki></pre>
</nowiki></pre>


(replace X with the actual version).
(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 <code><nowiki> R CMD INSTALL </nowiki></code> (provided you are using bash):
<pre><nowiki>
radmin#  export MAKE=gmake
</nowiki></pre>

Revision as of 15:37, 22 May 2006

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