Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know some good tutorials to handle spatial data in R? I know that there are some packages like rgdal and maptools but I haven't actually found usefull tutorials to get in touch with the basic functions (read, plot, change symbology, join data, etc.) and/or to get a broader overview what are the acutal capabilites of R for spatial analysis and manipulation of Spatial data. Also recomendations for books, papers, blogs, etc. would be warmly welcome.

share

locked by PolyGeo Apr 2 at 11:21

This question's answers are a collaborative effort: if you see something that can be improved, just edit the answer to improve it! No additional answers can be added here

3  
Not tutorials as such, but still recommended, in case you haven't checked these out: geodacenter.asu.edu/projects/rsp, cran.r-project.org/web/views/Spatial.html, stat.math.ethz.ch/mailman/listinfo/R-SIG-Geo – Paulo Jan 6 '13 at 19:12
up vote 22 down vote accepted

There's quite a few resources for learning 'spatial' R online, some of the better ones are:

share
    
Thanks for these very usefull links! After a first look I really liked Frank Davenporst notes. They come with a lot of code. Barry Rowlingsons Site is also very helpfull and gives a good overview as well as examples. So I'll try to make my way through this! :) – Dspanes Jan 7 '13 at 8:58

A couple I've found useful:

share
    
awesome. thank you also for the literature advice! – Dspanes Jan 7 '13 at 12:09
1  
Worth mentioning that ASDAR book has a website with code and data download – radek Jan 7 '13 at 12:13

Few more from my side:

  • Virgilio Gómez Rubio's (he is the author of the famous/superuseful ASDAR book, mentioned in other answers) website provides materials to his tutorials from useR! conferences - slides, data and code are available.
  • Apart from ADAR, there is now new book 'An Introduction to R for Spatial Analysis and Mapping' by Brundson & Comber with code available for download.

  • CSDE (University of Washington) course on GIS has some spatial R materials, focusing on ESDA, GWR, spatial regression

  • Maps with R I (II, III) series of blog posts offer a lot of extensively commented code that you can learn from.
  • UC Davis Soil Resource Laboratory has a nice collection of tips and examples of spatial R
  • Francisco Rodriguez-Sanchez has a nice materials on 'Spatial data in R: Using R as a GIS'.
share
1  
thanks for your advices!! – Dspanes Jan 7 '13 at 12:10

I'd like to add to the list:

share
    
This book is really extensive, not only about R but about Open Source GIS and data sources as well. Thank you very much for sharing this link. – Dspanes Jan 11 '13 at 9:13

A few nice tutorials, including some with a focus on interactivity (often listed as a weakness of doing GIS with R)

share

Dr Alec Stephenson talk on Exploring spatial data with R: Slides and scripts

share
    
I find this very hard to grasp. It only has 4 slides that mainly say "look at these packages", and non-commented code that will give you examples, but leave all the research on what exactly this does to the reader. – til_b Jan 7 '15 at 8:35

I have some tutorials introducing spatial analysis in R on my website:

http://evansmurphy.wix.com/evansspatial

share

I also made a quick easy and holistic tutorial you folks can check out here https://github.com/mattjbayly/MapsProj. All you need is the R text script and all other material is downloaded remotely from R.

My tutorial covered GIS data imports/exports, basic manipulation of vector & raster data, some of basic plotting and a brief overview of projections. Estimated time to complete: 60mins

share
    
Please give as much information as you can when linking externally. "Links to external resources are encouraged, but please add context around the link so your fellow users will have some idea what it is and why it’s there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline." (gis.stackexchange.com/help/how-to-answer) – MaryBeth Jan 22 at 21:25

data visualization in the R language: Code School - Try R

share
1  
Barely. This is a very basic intro to R. It doesn't include a real GIS component, only an example of a matrix as a treasure map. – Suz Mar 2 '13 at 19:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.