我有问题inselling 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)
型
我的会话信息如下:
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
。
谢谢你
4条答案
按热度按时间mhd8tkvw1#
实际上,对我来说,解决问题的是以下代码:
字符串
olqngx592#
我使用了以下脚本,它可以在R版本3.6.2中安装SDMtools
install.packages(“remotes”)远程::install_version(“SDMTools”,“1.1-221”)
hmae6n7t3#
尝试运行此脚本:
字符串
biswetbf4#
我知道这篇文章很老了,但我最近在使用SDMTools时遇到了问题,“remotes”不起作用。我在DevTools上取得了成功。以防万一有人有麻烦。