Centos处事器上安装R语言
当前位置:以往代写 > 其他教程 >Centos处事器上安装R语言
2019-06-14

Centos处事器上安装R语言

Centos处事器上安装R语言

由于但愿在Hadoop集群上设置RHadoop,自然需要在每个处事器节点上安装R语言。在安装进程也遇到了一些小问题,因此记录一下。
首先处事器系统版本为centos5.6,R版本为2.13.2。下面是安装步调:
1、解压文件:tar –zvxf R-2.13.2.tar.gz
2、进入R源文件目次:cd R-2.13.2
3、执行./configure呼吁,提示错误信息为“configure: error: No F77 compiler found”,执行呼吁yum install gcc-gfortran办理。再次执行./configure,报错:“configure: error: –with-readline=yes (default) and headers/libs are not available”,执行呼吁./configure –with-readline=no,继承报错:“configure: error: –with-x=yes (default) and X11 headers/libs are not available”。实验执行呼吁./configure –with-readline=no –with-x=no通过,只是会提示告诫信息:

configure: WARNING: you cannot build DVI versions of the R manuals

configure: WARNING: you cannot build DVI versions of all the help pages

configure: WARNING: you cannot build info or HTML versions of the R manuals

configure: WARNING: you cannot build PDF versions of the R manuals

configure: WARNING: you cannot build PDF versions of all the help pages
4、make
5、make install
安装乐成。进入R呼吁行界面,可以操纵。可是tab自动补全以及上下阁下等偏向键都无法利用。想着应该是./configure –with-readline=no –with-x=no惹的祸。因此从头安装了一下,这次在执行./configure呼吁前先执行了呼吁:

yum install readline-devel(办理错误“ –with-readline=yes (default) and headers/libs are not available”)

yum install libXt-devel(办理错误“–with-x=yes (default) and X11 headers/libs are not available”)
最终安装乐成,而且tab自动补全等都有效。

    关键字:

在线提交作业