$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>installation - failed to install spDataLarge package in R - Stack Overflow|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

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

matteradmin13PV0评论

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!

Post a comment

comment list (0)

  1. No comments so far