[转载]在linux上安装R软件

由于版权还有兼容性的原因,在linux下选用R 作为数据分析的工具是很好的选择。在安装中可能会遇到一些问题,收录一个网址,供参考。

 

R 主页:http://www.r-project.org

configure: error: No F77 compiler found - [GNU/Linux]

版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://laymantech.blogbus.com/logs/80761679.html

 

 

转载

$ ./configure

会产生错误:configure: error: No F77 compiler found

R语言需要fortran compiler,也就是说, 在上面尝试寻找了若干种Fortran 编译器未果之后,提示你没有安装任何一种可以使用的fortran 77 编译器。随便装个gfortran就行了。

$ sudo apt-get install gfortran

再次运行./configure

$ ./configure

会产生错误:configure: error: con--with-readline=yes (default) and headers/libs are not available

首先检查是否安装readline.

$ sudo apt-get install readline-common

$ ./configure --with-readline=no

会出现错误:configure: error: --with-x=yes (default) and X11 headers/libs are no t available

$ ./configure --with-x=no --with-readline=no

配置通过,但是会产生如下warning:

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
这是缺少生成相应格式manuals的插件,如果有需要可以依次安装。

参考资料:

[1] http://projects.uabgrid.uab.edu/r-group/wiki/install-R

 

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值