安装R包时候 ERROR: 'configure' exists but is not executable

当在Linux上安装R包时遇到'configure'存在但不可执行的错误,原因是R下载包的临时目录被标记为noexec。解决方法包括通过mount命令重新挂载该目录,将其设置为可执行。对于Windows用户,类似问题也可能出现,解决方案涉及更改R安装目录的权限设置。
摘要由CSDN通过智能技术生成
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'

Warning in install.packages : installation of package ‘e1071’ had non-zero exit status

If you run into the error-code above on Linux here is a simple fix for you:

Why does this error occur?

Because the folder R temporarily stores i.e. downloads package files into is 'marked' as non-executable i.e. noexec. This means that compilation, as is required for in this case for the given package is forbidden.

因为R下载包的临时文件夹被设定为 noexec ,所以说要先找到自己的临时文件夹,

 

一般是 /tmp,所以直接

mount -o remount,exec /tmp 改变文件夹的

mount挂载命令格式
        [root@localhost ~]# mount [-t 文件系统] [-o 特殊选项] 设备文件名 挂载点  ---挂载点为空白目录
      

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值