Difference between revisions of "Website:Visualization with ggplot2 of the R-Project"

From WormBaseWiki
Jump to navigationJump to search
m
(Added information about starting Rserve.)
Line 1: Line 1:
 +
== Installation Instructions ==
 +
 
<pre>
 
<pre>
 
# Installation instructions based on Debian 7.1.
 
# Installation instructions based on Debian 7.1.
Line 17: Line 19:
 
# Install Perl IPC::Run3 module, which is used to call the wrapper "script/rserve_client.rb".
 
# Install Perl IPC::Run3 module, which is used to call the wrapper "script/rserve_client.rb".
 
sudo cpan install IPC::Run3
 
sudo cpan install IPC::Run3
 +
</pre>
 +
 +
== Starting the Rserve Daemon ==
 +
 +
<pre>
 +
R CMD Rserve --no-save
 
</pre>
 
</pre>

Revision as of 19:35, 9 September 2013

Installation Instructions

# Installation instructions based on Debian 7.1.

# Installs R. Version 2.14 or newer required.
sudo apt-get install r-base

# Installs Ruby and Ruby gems. Version 1.9 or newer required.
sudo apt-get install ruby ruby-dev rubygems

# Rserve: R server that can be accessed via Ruby, Python, but not Perl.
wget http://www.rforge.net/Rserve/snapshot/Rserve_1.8-0.tar.gz
sudo R CMD INSTALL Rserve_1.8-0.tar.gz

# Install Ruby gem that provides programmatic access to Rserve.
sudo gem install rserve-client

# Install Perl IPC::Run3 module, which is used to call the wrapper "script/rserve_client.rb".
sudo cpan install IPC::Run3

Starting the Rserve Daemon

R CMD Rserve --no-save