linux安装R和Rstudio

wget http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.0.1.tar.gz

tar -zvxf R-3.0.1.tar.gz
./configure --enable-R-shlib=yes --with-libpng-x=no --with-tcltk --prefix=/usr/lib/R
make

make install


wget http://download2.rstudio.org/rstudio-server-rhel-0.99.491-x86_64.rpm
yum install --nogpgcheck rstudio-server-rhel-0.99.491-x86_64.rpm
rstudio-server start

rstudio-server verify-installation

你可能感兴趣的:(Linux)