ERROR: 'configure' exists but is not executable — see the 'R Installation and Administration Manual' [closed]

会有一股神秘感。 提交于 2019-12-03 09:17:22

问题


Ubuntu, Linux Mint, Debian

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.

How to fix it?

I unmount the partition/folder, change the status to executable and subsequently mount it again. Here is the terminal code for Ubuntu & Linux Mint:

mount -o remount,exec /tmp

In case you want to revoke executable settings find the code below:

mount -o remount,noexec /tmp

Can this happen on Windows?

Yes it can, and I can confirm the same issue. The solution is somewhat better documented here: Unable to update R packages in default library on Windows 7

  1. C:\Program Files\R - this folder contains "R", not the RStudio folder!
  2. Right click for properties.
  3. Security.
  4. In "Group our user names" select your name.
  5. Click "Edit".
  6. Select "Full Control".
  7. Click "Apply" and "OK".

来源:https://stackoverflow.com/questions/33310682/error-configure-exists-but-is-not-executable-see-the-r-installation-and-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!