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.
This question has been converted to Community Wiki and wiki locked because it is an example of a question that seeks a list of answers and appears to be popular enough to protect it from closure. It should be treated as a special case and should not be viewed as the type of question that is encouraged on this, or any Stack Exchange site, but if you wish to contribute more content to it then feel free to do so by editing this answer.
There's quite a few resources for learning 'spatial' R online, some of the better ones are:
A couple I've found useful:
I'd strongly recommend Analysing spatial point patterns in 'R' by Prof. Adrian Baddeley at the CSIRO in Australia. It covers the
spatstatmodule in depth and I think it's a great resource for cluster analysis.
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.
- 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'.
A few nice tutorials, including some with a focus on interactivity (often listed as a weakness of doing GIS with R)
Spatial data in R: Using R as a GIS: A tutorial to perform basic operations with spatial data in R, such as importing and exporting data (both vectorial and raster), plotting, analysing and making maps. by Francisco Rodriguez-Sanchez
Using RStudio as an interactive GIS with Leaflet by Kyle Walker, Texas Christian University
Working with PostGIS from R by Duncan Golicher
Geospatial Data Processing and Analysis in R by Andy Lyons
I'd like to add to the list:
A Practical Guide to Geostatistical Mapping by T. Hengl
Comprehensive Tutorial for Spatio-Temporal R Package (Bergen et al., 2013)
ggmap: Spatial Visualization with ggplot2 (Kahle and Wickham)
D.G Rossiter (lecture notes)
I have some tutorials introducing spatial analysis in R on my website:
Dr Alec Stephenson talk on Exploring spatial data with R: Slides and scripts
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
data visualization in the R language: Code School - Try R