Centos处事器上安装R语言
由于但愿在Hadoop集群上设置RHadoop,自然需要在每个处事器节点上安装R语言。在安装进程也遇到了一些小问题,因此记录一下。2.
13.2。下面是安装步调:
13.2.tar.gz进入R源文件目次:cd R-2.
13.2
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
./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自动补全等都有效。