Closed YinOsu closed 1 month ago
reinstall sf
.
reinstall
sf
.
I have, and when I did, I got error.
remove.packages("sf") Removing package from ‘/usr/local/lib/R/4.4/site-library’ (as ‘lib’ is unspecified) install.packages("sf") Installing package into ‘/usr/local/lib/R/4.4/site-library’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/src/contrib/sf_1.0-16.tar.gz' Content type 'application/x-gzip' length 3493756 bytes (3.3 MB)
downloaded 3.3 MB
Looks like you're on MacOS (you didn't specify) - if this is the case, please install sf
as a binary package.
Looks like you're on MacOS (you didn't specify) - if this is the case, please install
sf
as a binary package.
Sorry about that. is this the same as installing from the binary package.. ? which I have tried and still not successful.
install_github("r-spatial/sf", configure.args = "--with-proj-lib=$(brew --prefix)/lib/")
No, you'd use
install.packages("sf", type = "binary")
No, you'd use
install.packages("sf", type = "binary")
I get this error:
install.packages("sf", type = "binary") Error in install.packages : type 'binary' is not supported on this platform
@edzer
sorry, please try
install.packages("sf", type = "mac.binary")
sorry, please try
install.packages("sf", type = "mac.binary")
Here is the output @edzer
install.packages("sf", type = "mac.binary") Installing package into ‘/usr/local/lib/R/4.4/site-library’ (as ‘lib’ is unspecified) Warning in install.packages : unable to access index for repository https://cran.rstudio.com/bin/macosx/contrib/4.4: cannot open URL 'https://cran.rstudio.com/bin/macosx/contrib/4.4/PACKAGES'
package ‘sf’ is available as a source package but not as a binary
Warning in install.packages : package ‘sf’ is not available as a binary package for this version of R
A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
This is not a stars issue, but an issue with your R installation; as I don't use a mac, I'm giving up, pls find help elsewhere.
Update failed for stars