r - 安装 INLA 包的问题
问题描述
当我运行 '''install.packages("INLA", repos=c(getOption("repos"), INLA="https://inla.r-inla-download.org/R/testing"), dep= TRUE)''' 让我给出这个错误:
install.packages 中的警告:无法打开 URL 'https://inla.r-inla-download.org/R/testing/bin/macosx/contrib/4.0/INLA_21.03.14-2.tgz':HTTP 状态为 '404未找到'
谁能帮我理解?
解决方案
看起来您同时遇到了网络错误 ( download length != reported length
) 和某种安装错误。
我建议尝试GitHub
像这样直接从他们的仓库安装软件包(您需要为此devtools
预先安装)。
library("devtools")
devtools::install_github(repo = "https://github.com/hrue/r-inla", ref = "stable", subdir = "rinla", build = FALSE)
我已经在基于 Unix 的机器上对此进行了测试,它应该可以正常工作。
推荐阅读
- python - 熊猫根据分组创建新列
- php - 如何安全发送邮件正文中的任何超链接?
- php - target="_blank" 继续下载图片而不是打开其他页面
- java - Spring boot @Cacheable - 如何设置刷新间隔/清除间隔?
- laravel - 如何在 Windows 中使用 curl 和 xampp?
- android - Amazon S3 TransferUtility 在应用程序关闭时停止,即使在 WorkManager 中也是如此
- angularjs - 只需搜索“a”关键字,结果必须包含“å”等字母
- java - ECPoint 坐标系在 Bouncy Castle 中如何工作?
- docker - 带有 zip 文件的 Docker ADD 文件夹导致错误处理 tar 文件(退出状态 1):意外 EOF
- reporting-services - SSRS 根据某个值将背景更改为红色,否则将恢复为备用行颜色