最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

installation - failed to install spDataLarge package in R - Stack Overflow

programmeradmin9浏览0评论

I tried to install the spDataLarge package in R using three options mentioned here: But none of them works.

I also tried to update my R version to the most recent version 4.4.2. I changed the RStudio settings below:

Tools -> Global options -> Packages -> Management -> uncheck the box before "Use secure download method for HTTP". -> Ok.

Option 1:

> install.packages("spDataLarge", repos = ";)
Installing package into ‘C:/Users/userName/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository /src/contrib:
  cannot open URL '/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘spDataLarge’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
.html#Installing-packages
Warning in install.packages :
  unable to access index for repository /bin/windows/contrib/4.4:
  cannot open URL '/bin/windows/contrib/4.4/PACKAGES'
Warning message:
In download.file(mirrors_csv_url, destfile = mirrors_csv, quiet = TRUE) :
  URL '.csv': status was 'SSL connect error'

Option 2:

> devtools::install_github("geocompr/geocompkg")
Downloading GitHub repo geocompr/geocompkg@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  cannot open URL ''

Option 3:

> install.packages("spDataLarge", repos = "/", type = "source")
Installing package into ‘C:/Users/userName/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository :
  cannot open URL ''
Warning in install.packages :
  package ‘spDataLarge’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
.html#Installing-packages

But nothings works.

If anyone possibly knows why, would you offer some help? Thank you!

发布评论

评论列表(0)

  1. 暂无评论