Installing dependent libraries
sudo aptitude-y install tcl-dev tk-devsudo aptitude-y install libicu-dev liblzma-devsudo aptitude-y Install Libpng12-de V Libjpeg-dev Libtiff4-dev Libcairo2-dev
Install R
wget Http://mirrors.xmu.edu.cn/CRAN/src/base/R-3/R-3.1.1.tar.gz-nc-O ~/download/r-3.1.1.tar.gztar zxvf ~/download/ R-3.1.1.tar.gz-c/tmp/cd/tmp/r-3.1.1/./configure--enable-r-shlib--with-tcl-config=/usr/lib/tclconfig.sh-- With-tk-config=/usr/lib/tkconfig.shmakesudo make Install
Installing Rstudio
wget Http://download1.rstudio.org/rstudio-0.98.978-amd64.deb-nc-O ~/download/rstudio-0.98.978-amd64.debsudo dpkg- I ~/download/rstudio-0.98.978-amd64.deb
Install the package (run in R)
Install.packages (C ("Ggplot2", "DMWR", "vegan", "ade4", "Geor", "caret", "Pcapp", "Rjava", "Indicspesies" , "Roxygen2", "snowfall", "RPF", "Numderiv", "Psych", "Geosphere"), repos = "Http://172.30.0.75/cran") so Urce ("Http://bioconductor.org/biocLite.R") Bioclite () Bioclite (C ("Biocinstaller", "Qvalue", "dirichletmultinomial" , "Impute", "Minet", "go.db", "org." Hs.eg.db "," org. Mm.eg.db ")) install.packages (" Wgcna ", repos =" Http://172.30.0.75/cran ")
Install Source code version Openmx
sudo aptitude install-y CURLCD ~/downloadsvn Checkout "HTTP://OPENMX.PSYC.VIRGINIA.EDU/SVN" Openmxcd Openmx/trucksudo Make install
. Rprofile settings
#options (papersize= "A4") options (editor= "Vim") options (Tab.width = 2) options (width = #options) (prompt= ">") Options (continue= "+") #. First <-function () {library (utils) if (Interactive ()) Try (loadhistory ("~/. Rhistory "))}# .... Last <-function () {if (interactive ()) Try (savehistory ("~/"). Rhistory "))}
Ubuntu's R Raiders