Ubuntu's R Raiders

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.