R for Geospatial Processing
226 | 227 |2019-08-27
228 |Chapter 1 Prerequisites
231 |This workshop is designed for the attendance of FOSS4G 2019. So basics knowledge in GIS is expected (simple features, projections and CRS, geometrical operations, etc.).
232 |No knowledge of R is required. A minimal knowledge of (R)mardown will be a plus to take notes.
233 |Please install R on your system and the following libraries.
234 |Please follow installation instructions from the CRAN projet.
235 |The {sf} library needs several geospatial core libraries (GDAL, GEOS, PROJ) so please follow {sf} installation instructions to be sure to have those.
236 |For Ubuntu users, ThinkR published a blogpost about the installation of r 3 5 on Ubuntu 18.04 LTS and tips for spatial packages
237 |install.packages("dplyr")
238 | install.packages("sf")
239 | install.packages("spData")
240 | install.packages("here")
241 | install.packages("ggplot2")
242 | install.packages("tmap")
243 | install.packages("cartography")
244 | For OSGeoLive users, there is already some of them installed in the distribution. 245 | Please start Jupyter Notebooks (Menu -> GeoSpatial -> Spatial Tools -> Jupyter Notebook). It should open a web page.
246 |Click on New
in the top right and start a new R Notebook. Then install only the following packages :
install.packages("dplyr")
248 | install.packages("here")
249 | install.packages("tmap")
250 | install.packages("cartography")
251 | 1.1 About this document
253 |This document had been written with the R Bookdown package and Rstudio. You can use the editor of your choice to follow the instruction, be careful on the path given by the {here} package.
254 |To compile this example to PDF, you need XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): https://yihui.name/tinytex/.
255 |You can contribute to this document on GitHub :
256 |https://github.com/Bakaniko/FOSS4G2019_Geoprocessing_with_R_workshop
257 | 258 |