Skip to content

Instantly share code, notes, and snippets.

@Robinlovelace
Created May 18, 2017 10:03
Show Gist options
  • Save Robinlovelace/c7a8140b0957e75e080d42e44dfeafe0 to your computer and use it in GitHub Desktop.
Save Robinlovelace/c7a8140b0957e75e080d42e44dfeafe0 to your computer and use it in GitHub Desktop.
Reproduce Geocomputation with R book
# Aim: reproduce Geocomputation with R book
if(!require(devtools)) {
install.packages("devtools")
}
devtools::install_github("robinlovelace/geocompr")
download.file("https://github.com/Robinlovelace/geocompr/archive/master.zip", "master.zip")
unzip("master.zip")
old_dir = setwd("geocompr-master/")
bookdown::render_book("index.Rmd") # to build the book
browseURL("_book/index.html") # to view it
setwd(old_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment