R语言想安装CluMix,运行install.packages("https://cran.r-project.org/src/contrib/Archive/CluMix/CluMix_0.3.tar.gz", repos = NULL, type = "source") 。运行之后报错,报错如下:ERROR: dependencies 'ClustOfVar', 'Hmisc', 'DescTools', 'extracat', 'marray', 'FD', 'gplots' are not available for package 'CluMix' * removing 'C:/Users/lyang/AppData/Local/R/win-library/4.2/CluMix' Warning in install.packages : 安装程序包‘C:/Users/lyang/AppData/Local/Temp/Rtmp67pSZr/downloaded_packages/CluMix_0.3.tar.gz’时退出狀態的值不是0 怎么解决
时间: 2023-09-10 15:08:59 浏览: 210
https://pub.dev/packages/anim_search_bar-Flutter开发
这个错误提示是因为安装 CluMix 包需要先安装其依赖包。你可以尝试手动安装这些依赖包,具体命令如下:
```R
install.packages(c("ClustOfVar", "Hmisc", "DescTools", "extracat", "marray", "FD", "gplots"))
```
安装完成之后再运行你原来的安装命令即可。如果依然安装失败,可以尝试将 R 语言升级到最新版本或者在安装时加上 `--no-multiarch` 参数。例如:
```R
install.packages("https://cran.r-project.org/src/contrib/Archive/CluMix/CluMix_0.3.tar.gz", repos = NULL, type = "source", INSTALL_opts = '--no-multiarch')
```
希望能帮到你!
阅读全文