Created
May 18, 2017 10:03
-
-
Save Robinlovelace/c7a8140b0957e75e080d42e44dfeafe0 to your computer and use it in GitHub Desktop.
Reproduce Geocomputation with R book
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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