Website:Visualization with ggplot2 of the R-Project
From WormBaseWiki
Revision as of 14:50, 26 September 2013 by Joachim.baran (talk | contribs) (Added ggplot2 installation instructions.)
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 # ggplot2: plotting of many different scientific graphs using a # single unified interface. Drawback: the instructions here # require user input. sudo R # ...then type # install.packages("ggplot2") # ...and exit R after the installation has completed. # Defaults: lets you tinker with R default settings. wget http://cran.r-project.org/src/contrib/Defaults_1.1-1.tar.gz sudo R CMD INSTALL Defaults_1.1-1.tar.gz # 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