Skip to content

Commit 9254dcc

Browse files
author
Christopher Prener
committed
add note about dev version of ggplot2
1 parent 769d4dc commit 9254dcc

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

setup.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,23 @@ Linux users will have to install UDUNITS separately. Like the geospatial librari
149149
150150
The following `R` packages are used in the various geospatial lessons.
151151
152+
* [`devtools`](https://cran.r-project.org/package=devtools)
152153
* [`dplyr`](https://cran.r-project.org/package=dplyr)
153-
* [`ggplot2`](https://cran.r-project.org/package=ggplo2)
154-
* [`sf`](https://cran.r-project.org/package=sf)
155154
* [`raster`](https://cran.r-project.org/package=raster)
156155
* [`rgdal`](https://cran.r-project.org/package=rgdal)
157156
* [`rasterVis`](https://cran.r-project.org/package=rasterVis)
157+
* [`sf`](https://cran.r-project.org/package=sf)
158158
159159
To install them from the `R` prompt, type:
160160
161161
```r
162-
install.packages(c("dplyr", "ggplot2", "sf", "raster", "rgdal", "rasterVis"))
162+
install.packages(c("devtools", "dplyr", "raster", "rgdal", "rasterVis", "sf"))
163+
```
164+
165+
Additionally, you will need to install the *development* version of [`ggplot2`](https://github.com/tidyverse/ggplot2):
166+
167+
```r
168+
devtools::install_github("tidyverse/ggplot2")
163169
```
164170
165171
## Option B: Docker
@@ -172,7 +178,7 @@ Once up and running - you'll have full access to RStudio right from your browser
172178
173179
![](/fig/docker.png)
174180
175-
*Please be aware that the `R` package `rasterVis` is not included in the `rocker/geospatial` Docker image. If your instructor teaches with this package, this will be the one `R` package you will need to install yourself. All other `R` packages will already be installed for you.*
181+
*Please be aware that the `R` package `rasterVis` is not included in the `rocker/geospatial` Docker image. If your instructor teaches with this package, this will be an `R` package you will need to install yourself. You will also have to install the development version of `ggplot2` until `ggplot2` is released in June 2018 and the updated version is added to `rocker/geospatial`. All other `R` packages will already be installed for you.*
176182
177183
> ## Downloading and Installing Docker Community Edition
178184
>

0 commit comments

Comments
 (0)