CentOS6下 R 语言编译安装

作者:暗夜星辰 发布于:2015-6-19 17:46 Friday 分类:LINUX && VPS

#centos 6 扩展源
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

#升级&安装编译依赖

yum install -y gcc gcc-c++ gcc-fortran libXt-devel readline-devel glibc-devel zlib-devel libxml2-dev cairo cairo-devel libpng libpng-dev libtiff libtiff-dev libjpeg libjpeg-dev pixman pixman-dev pango-devel pango freetype freetype-devel texinfo* texlive* icu libicu-devel java-1.7.0-openjdk java-1.7.0-openjdk-devel

inconsolata.sty (选装)
http://ftp.jaist.ac.jp/pub/CTAN/fonts/inconsolata.zip
安装位置 /usr/share/texmf/tex/latex/

#准备安装 R
 #wget http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.2.0.tar.gz
 #tar zxvf R-3.2.0.tar.gz
 #cd R-3.2.0
 #./configure --enable-R-shlib  --enable-memory-profiling=yes
 #make 
 #make install

#连接环境为 RStudio 做准备
#ln -s /usr/local/lib64/R /usr/lib64/R
#ln -s /usr/local/lib64/R /usr/share/R

#安装 R 扩展 (选装)
 #R CMD INSTALL Rcpp_0.11.6.tar.gz
 #R CMD INSTALL httpuv_1.3.2.tar.gz
 #R CMD INSTALL mime_0.3.tar.gz
 #R CMD INSTALL jsonlite_0.9.16.tar.gz
 #R CMD INSTALL xtable_1.7-4.tar.gz
 #R CMD INSTALL digest_0.6.8.tar.gz
 #R CMD INSTALL htmltools_0.2.6.tar.gz
 #R CMD INSTALL R6_2.0.1.tar.gz
 #R CMD INSTALL shiny_0.12.1.tar.gz

标签: CentOS R语言 编译安装

发表评论:

©2012-2014 woodbunny.com 木头♥兔子的小屋 sitemap