作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在运行时在 ubuntu 16.04 上安装 geoR 包时遇到问题
>install.packages('geoR', dependencies = TRUE)
/usr/lib/R/etc/Makeconf:141: recipe for target 'RFoptions.o' failed
make: *** [RFoptions.o] Error 1
ERROR: compilation failed for package ‘RandomFieldsUtils’
* removing ‘/home/luca/R/x86_64-pc-linux-gnu-library/3.2/RandomFieldsUtils’
The downloaded source packages are in
‘/tmp/Rtmph5zmhR/downloaded_packages’
Warning message:
In install.packages("RandomFieldsUtils") :
installation of package ‘RandomFieldsUtils’ had non-zero exit status
>
> install.packages('geoR', dependencites = TRUE)
Installing package into ‘/home/luca/R/x86_64-pc-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘RandomFieldsUtils’, ‘RandomFields’
Error in download.file(url, destfile, method, mode = "wb", ...) :
unused argument (dependencites = TRUE)
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
download of package ‘RandomFieldsUtils’ failed
Error in download.file(url, destfile, method, mode = "wb", ...) :
unused argument (dependencites = TRUE)
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
download of package ‘RandomFields’ failed
Error in download.file(url, destfile, method, mode = "wb", ...) :
unused argument (dependencites = TRUE)
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
download of package ‘geoR’ failed
>install.packages('RandomFieldsUtils')
/usr/lib/R/etc/Makeconf:141: recipe for target 'RFoptions.o' failed
make: *** [RFoptions.o] Error 1
ERROR: compilation failed for package ‘RandomFieldsUtils’
* removing ‘/home/luca/R/x86_64-pc-linux-gnu-library/3.2/RandomFieldsUtils’
The downloaded source packages are in
‘/tmp/Rtmph5zmhR/downloaded_packages’
Warning message:
In install.packages("RandomFieldsUtils") :
installation of package ‘RandomFieldsUtils’ had non-zero exit status
最佳答案
在玩了一会儿之后,我通过直接从贡献者的 website 下载了 RandomFieldsUtils 的第二个最新版本(即 0.3.16 而不是 0.3.20)来管理。并从包中安装它。
将这个答案发布给自己,以防它可以帮助任何人!
关于r - 在 Ubuntu 16.04 上安装 geoR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42949527/
我在运行时在 ubuntu 16.04 上安装 geoR 包时遇到问题 >install.packages('geoR', dependencies = TRUE) 我收到以下错误消息 /usr/li
我已经通过 brew 安装了 R 和 RStudio .对于一个项目,我需要 R 库中的一个函数 geoR这反过来又取决于 tcl-tk .我也通过 brew 安装了这个:brew install t
我是一名优秀的程序员,十分优秀!