R, RStudio server and Bioconductor

  • R is a free software environment for statistical computing and graphics. (site)

Add to /etc/apt/sources.list this line:

deb http://cran.mirror.garr.it/mirrors/CRAN/bin/linux/ubuntu precise/

then

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
sudo apt-get update
sudo apt-get install r-base

Enter R at prompt:

R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)


  • RStudio IDE is a powerful and productive user interface for R. It’s free and open source. (site)

Download and install

apt-get install gdebi-core
apt-get install libapparmor1

wget http://download2.rstudio.org/rstudio-server-0.97.551-amd64.deb
gdebi rstudio-server-0.97.551-amd64.deb

Configure reverse-proxy

apt-get install libapache2-mod-proxy-html
apt-get install libxml2-dev
a2enmod proxy
a2enmod proxy_http
nano -w /etc/apache2/sites-enabled/000-default
  <Proxy *>
    Allow from localhost
  </Proxy>

  ProxyPass        /rstudio/ http://localhost:8787/
  ProxyPassReverse /rstudio/ http://localhost:8787/
  RedirectMatch permanent ^/rstudio$ /rstudio/
service apache2 restart

Limit connection from localhost

nano -w /etc/rstudio/rserver.conf
  www-address=127.0.0.1
rstudio-server stop
rstudio-server start


  • Bioconductor provides tools for the analysis and comprehension of high-throughput genomic data. Bioconductor uses the R statistical programming language, and is open source and open development. (Site)

Additional packages required

apt-get install libcurl4-openssl-dev

Login as root and at R prompt:

source("http://bioconductor.org/biocLite.R")
biocLite()
biocLite(c("GenomicFeatures", "AnnotationDbi"))
 
 
rachaelx/erre.txt · Last modified: 2013/05/27 09:16 by giancarlo

Developers: CNR Ceris IT Office and Library
Giancarlo Birello (g.birello _@_ ceris.cnr.it) and Anna Perin (a.perin _@_ ceris.cnr.it)
BioInfo@TO.CNR is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki