命令行安装
no root access:
or say, install from source
$ wget http://cran.rstudio.com/src/base/R-3/R-3.1.1.tar.gz
$ tar xvf R-3.1.1.tar.gz
$ cd R-3.1.1
$ ./configure --prefix=/home/Kryo/R-3.1.1
$ make -j
可能没有装bzip2,得install from source
https://stackoverflow.com/questions/15910219/how-to-manually-pass-source-of-bzip2-install-for-python-install
或者是在path但是却说找不到
https://stackoverflow.com/questions/60499505/bzip2-in-path-but-not-found-while-installing-r
命令行运行
https://stackoverflow.com/questions/18306362/run-r-script-from-command-line