gpt4 book ai didi

r - 在 R 中安装包会抛出 "package is not available (for R version 3.0.1)"

转载 作者:行者123 更新时间:2023-12-02 04:57:48 26 4
gpt4 key购买 nike

<分区>

我正在尝试在我的系统 Ubuntu 12.04 x86_64-pc-linux-gnu 上安装以下 R 包,但我的 R 版本似乎更高,我正在下载以前版本支持的包...我得到了一个减弱:

install.packages("Spot")

Warning in install.packages :
package ‘Spot’ is not available (for R version 3.0.1)

我试图从包存档安装它,但它给了我这个错误

install.packages("~/Spot_3.2_x86_64.tar.gz", repos = NULL, type = "source", lib="/home/jarvis/R/x86_64-pc-linux-gnu-library/3.0")

Warning in install.packages :
package ‘~/R/workspace/Spot_3.2_x86_64.tar.gz’ is not available (for R version 3.0.1)
* installing *source* package ‘Spot’ ...
ERROR: a 'NAMESPACE' file is required
* removing ‘/home/jarvis/R/x86_64-pc-linux-gnu-library/3.0/Spot’
Warning in install.packages :
installation of package ‘/home/jarvis/R/workspace/Spot_3.2_x86_64.tar.gz’ had non-zero exit status

有什么建议吗???

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com