CENTOS7安装R语言环境

yum install texinfo.x86_64

yum install texlive.x86_64

cd /opt wget https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/base/R-3/R-3.3.1.tar.gz

tar -zxvf ./R-3.3.1.tar.gz

wget http://ftp.jaist.ac.jp/pub/CTAN/fonts/inconsolata.zip

unzip ./inconsolata.zip

cp -rf ./inconsolata /usr/share/texlive/texmf-dist/tex/latex/

mktexlsr

cd R-3.3.1

./configure –enable-R-shlib

make