Skip to content

gRAN Install Notes Ubuntu 14.04 with CRAN R 3.1

Chris Mosetick edited this page Jun 17, 2014 · 4 revisions

gRAN Install Notes - Ubuntu 14.04 with CRAN R 3.1

Install system packages to get started

sudo aptitude install r-base r-base-dev xorg-dev texlive-latex-base texlive-fonts-extra

Download and install R 3.1

wget http://cran.revolutionanalytics.com/src/base/R-3/R-3.1.0.tar.gz
tar xzf R-3.1.0.tar.gz cd R-3.1.0

./configure --enable-R-shlib --with-blas --with-lapack --with-readline

make
sudo make install
sudo make install info

System deps for gRAN

sudo aptitude install libxml2 libxml2-dev curl libcurl4-openssl-dev texinfo

note that libcurl4-gnutls-dev can probably be installed in place of libcurl4-openssl-dev if desired

R deps for gRAN:

BioConductor install source package

wget http://www.bioconductor.org/packages/release/bioc/src/contrib/BiocInstaller_1.14.2.tar.gz tar xzf BiocInstaller_1.14.2.tar.gz
sudo R CMD INSTALL BiocInstaller

BiocStyle install source package

wget http://www.bioconductor.org/packages/release/bioc/src/contrib/BiocStyle_1.2.0.tar.gz
tar xzf BiocStyle_1.2.0.tar.gz
sudo R CMD INSTALL BiocStyle_1.2.0.tar.gz

gRAN install:

From within an R session run:
install.packages("devtools")
install.packages("XML")
install.packages("brew")
install.packages("hwriter")
library(devtools)
install_git("https://github.com/gmbecker/gRAN")
row.names(installed.packages())
library(GRANBase)

Author: Chris Mosetick
Special thank you to Stephen Weller for helping compile these install notes.