安装R软件包时出错

时间:2013-04-12 15:33:41

标签: r ubuntu-12.04

尝试在R中安装'Rook'软件包时出现以下错误:

** package ‘Rook’ successfully unpacked and MD5 sums checked
** libs
sh: 1: -f: not found
ERROR: compilation failed for package ‘Rook’
* removing ‘/usr/lib/R/site-library/Rook’

The downloaded packages are in
    ‘/tmp/RtmpPW6kC2/downloaded_packages’
Warning message:
In install.packages("Rook", repos = "http://cran.r-project.org") :
  installation of package ‘Rook’ had non-zero exit status

我使用了install.packages()函数和终端来安装软件包,但是收到了相同的消息。有什么想法吗?

操作系统:Ubuntu 12.04。

0 个答案:

没有答案