gpt4 book ai didi

R - 无法为 R 版本 3.6.2 安装 'SDMTools'

转载 作者:行者123 更新时间:2023-12-04 12:05:52 27 4
gpt4 key购买 nike

我在安装 R 包时遇到问题 SDMTools .

install.packages("SDMTools")
Installing package into ‘C:/Users/aaa/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘SDMTools’ is not available (for R version 3.6.2)

我也试过
BiocManager::install(c('SDMTools'), ask=T ) 
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.2 (2019-12-12)
Installing package(s) 'SDMTools'
Installation path not writeable, unable to update packages: boot, foreign, lattice, MASS, nlme, nnet
Old packages: 'digest', 'mvtnorm'
Update all/some/none? [a/s/n]:
n
Warning message:
package ‘SDMTools’ is not available (for R version 3.6.2)

我的 session 信息如下:
sessionInfo()
R version 3.6.2 (2019-12-12)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] readstata13_0.9.2 devtools_2.2.2 usethis_1.5.1

loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 rstudioapi_0.11 magrittr_1.5 pkgload_1.0.2 R6_2.4.1 rlang_0.4.4
[7] fansi_0.4.1 tools_3.6.2 pkgbuild_1.0.6 sessioninfo_1.1.1 cli_2.0.1 withr_2.1.2
[13] ellipsis_0.3.0 remotes_2.1.1 assertthat_0.2.1 digest_0.6.24 rprojroot_1.3-2 crayon_1.3.4
[19] processx_3.4.2 BiocManager_1.30.10 callr_3.4.2 fs_1.3.1 ps_1.3.2 curl_4.3
[25] testthat_2.3.1 memoise_1.1.0 glue_1.3.1 compiler_3.6.2 desc_1.2.0 backports_1.1.5
[31] prettyunits_1.1.1

关于如何安装的任何想法 SDMTools ?我需要它来安装软件包 rblm .

谢谢

最佳答案

尝试运行此脚本:

install.packages("remotes")
remotes::install_version("SDMTools", "1.1-221")

关于R - 无法为 R 版本 3.6.2 安装 'SDMTools',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60415059/

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