install sf from GitHub source in MacOsX
In terminal. You must have MacBrew installed. If not, use:
Install macbrew via:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then
brew install proj
brew install gdal
brew install geos
sudo R
Then in R:
library("devtools")
install_github("r-spatial/sf", build_opts = c("--with-proj-include=/usr/local/include",
"--with-proj-lib=/usr/local/lib"), force=TRUE)
And...
> packageVersion("sf")
[1] ‘0.9.9’
Commentaires
Enregistrer un commentaire