The goal of geocomplexity is to support geocomplexity computation and applications.
Full document of the most recent release of geocomplexity is online: https://spatlyu.github.io/geocomplexity/
You can install the development version of geocomplexity from github with:
# install.packages("devtools")
devtools::install_github("SpatLyu/geocomplexity",
build_vignettes = TRUE,
dep = TRUE)
Please ensure that appropriate C++ compilation environment is configured and Rcpp & RcppArmadillo is properly installed in advance if you want to install geocomplexity from source. See the next topic on C++ Settings for more information.
You can also install the binary version of geocomplexity from r-universe:
install.packages("geocomplexity",
repos = c("https://spatlyu.r-universe.dev",
"https://cran.rstudio.com/"),
dep = TRUE)
Linux
Debian/Ubuntu:
apt-get update
apt-get install r-base-dev
Fedora/RedHat: should be set up already.
MacOS
Option 1
- Register as an Apple developer (for
free)
-
Then, in the terminal:
xcode-select --install
-
Option 2
- Install the current release of full Xcode from the Mac App Store
- Within XCode go to Preferences -> Downloads and install the Command Line Tools
- More convenient but installs a lot you don’t need
Windows:
- Download the Rtools installer that matches your version of R from https://cran.r-project.org/bin/windows/Rtools/
- Run the installer,
Rtools.exe
, keeping the default settings.