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

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

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!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745670963a4639400.html

相关推荐

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

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

    21天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信