日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

R-3.1.1 编译安装2

發布時間:2024/9/30 编程问答 17 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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.gz
2:編譯安裝

./configure ?--enable-R-shlib

make && make install

[root@feng03 R-3.1.1]$ ./configure --enable-R-shlib checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu loading site script './config.site' loading build-specific script './config.site' checking for pwd... /bin/pwd checking whether builddir is srcdir... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for gawk... gawk checking whether ln -s works... yes checking for bison... no checking for byacc... no
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

[root@feng03 R-3.1.1]# RR version 3.1.1 (2014-07-10) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-unknown-linux-gnu (64-bit)R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.Natural language support but running in an English localeR is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.> q() Save workspace image? [y/n/c]: n


總結

以上是生活随笔為你收集整理的R-3.1.1 编译安装2的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。