R-3.1.1 编译安装2
生活随笔
收集整理的這篇文章主要介紹了
R-3.1.1 编译安装2
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1:下載解壓
[jifeng@feng03 r]$ wget http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.1.1.tar.gz --2015-09-29 21:53:37-- http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.1.1.tar.gz Resolving mirror.bjtu.edu.cn... 60.247.46.223, 2001:da8:205::58 Connecting to mirror.bjtu.edu.cn|60.247.46.223|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 28606569 (27M) [application/octet-stream] Saving to: “R-3.1.1.tar.gz”100%[=======================================================================================>] 28,606,569 365K/s in 2m 17s 2015-09-29 21:55:55 (203 KB/s) - “R-3.1.1.tar.gz” saved [28606569/28606569][jifeng@feng03 r]$ tar -zxf R-3.1.1.tar.gz2:編譯安裝
./configure ?--enable-R-shlib
make && make install
R is now configured for x86_64-unknown-linux-gnuSource directory: .Installation directory: /usr/localC compiler: gcc -std=gnu99 -g -O2Fortran 77 compiler: gfortran -g -O2C++ compiler: g++ -g -O2C++ 11 compiler: g++ -std=c++0x -g -O2Fortran 90/95 compiler: gfortran -g -O2Obj-C compiler: Interfaces supported: X11, tcltkExternal libraries: readlineAdditional capabilities: NLSOptions enabled: shared R library, shared BLAS, R profilingRecommended packages: yesconfigure: WARNING: you cannot build info or HTML versions of the R manuals configure: WARNING: neither inconsolata.sty nor zi4.sty found: PDF vignettes and package manuals will not be rendered optimally
安裝 [root@feng03 R-3.1.1]# make && make install make[1]: Entering directory `/home/jifeng/r/R-3.1.1/m4' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/home/jifeng/r/R-3.1.1/m4' make[1]: Entering directory `/home/jifeng/r/R-3.1.1/tools' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/home/jifeng/r/R-3.1.1/tools' make[1]: Entering directory `/home/jifeng/r/R-3.1.1/doc' make[2]: Entering directory `/home/jifeng/r/R-3.1.1/doc/html' make[2]: Leaving directory `/home/jifeng/r/R-3.1.1/doc/html' make[2]: Entering directory `/home/jifeng/r/R-3.1.1/doc/manual' make[2]: Nothing to be done for `R'.
make[2]: Entering directory `/home/jifeng/r/R-3.1.1/src/library' mkdir -p -- /usr/local/lib64/R/library installing packages ...building HTML index ... make[2]: Leaving directory `/home/jifeng/r/R-3.1.1/src/library' make[1]: Leaving directory `/home/jifeng/r/R-3.1.1/src' make[1]: Entering directory `/home/jifeng/r/R-3.1.1/tests' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/home/jifeng/r/R-3.1.1/tests'
總結
以上是生活随笔為你收集整理的R-3.1.1 编译安装2的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: R-3.1.1 编译安装
- 下一篇: 安装SparkR