R-3.1.1 编译安装2
2015-09-29 23:13
316 查看
1:下载解压
2:编译安装
./configure --enable-R-shlib
make && make install
安装
进入R
[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-gnu Source directory: . Installation directory: /usr/local C compiler: gcc -std=gnu99 -g -O2 Fortran 77 compiler: gfortran -g -O2 C++ compiler: g++ -g -O2 C++ 11 compiler: g++ -std=c++0x -g -O2 Fortran 90/95 compiler: gfortran -g -O2 Obj-C compiler: Interfaces supported: X11, tcltk External libraries: readline Additional capabilities: NLS Options enabled: shared R library, shared BLAS, R profiling Recommended packages: yes configure: 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]# R R 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 locale R 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
相关文章推荐
- 实践中学习vim之vim配置文件、插件文件加载路径
- NodeJs学习笔记01-你好Node
- 线性代数(1)--方程组的同解变形
- 用HTML制作简历
- 《Python基础教程(第2版 修订版)》 第1章 快速改造:基础知识(学习笔记)
- Mysql优化小结
- eclipse连接sql server 图文教程
- Linux NTP服务详解
- POJ 3667 Hotel (线段树区间合并)
- 新网站迟迟不被百度收录的几个解决办法
- 大功率电机驱动
- OJ学习笔记3
- Z-STACK快速广播丢数据
- Sum of the First nth Term of Series
- 听听那雨
- Light oj 1252 - Maintaining Communities(树形dp)
- Maven私服Nexus的构建
- Can’t connect to Mysql server on ‘127.0.01’(10061)
- 读jQuery官方文档:遍历
- C语言实现时间差、星期、天数算日期(转)