Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

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

There are quite some nice possibilities to analyse spatial data in R and in the context of my current project I would like to use R more frequently to do that.

Until now I plot my maps with ggplot2 package that brings a lot of practical tools to plot and explore data. Still my maps are not nearly as good looking as the ones I used to plot in ArcGIS. So for publishing purposes I wonder if there are any good tutorials, books, practical tips, packages etc. that I could use to experiment a little bit and make my maps more good looking.

Any advice would be warmly welcome :)

share|improve this question
Not sure..but might be useful for you… – Sunil Jan 23 '13 at 9:40
@Sunil These are great resources for R cartography - lots of useful code one can adapt and buid upon. You should add it as an answer. – radek Jan 23 '13 at 9:49
@radek thanks.. – Sunil Jan 23 '13 at 9:57
up vote 21 down vote accepted

In addition to the ones posted here, in the R gallery website there are a few examples:

other websites with tutorials and good mapping examples in R:

I hope this helps. The last one gives you one example with vector data and another with satellite imagery, while the r-bloggers has many other mapping examples with R.

share|improve this answer
+1 The UCSB tutorial is really good – Aaron Jan 23 '13 at 14:44
thank you for the links. the ucsb tutorial seems really interesting and cover some of the important basic operations. – Dspanes Jan 23 '13 at 15:12
@A.R first link appears to be dead. – radek Feb 12 '13 at 15:22
Could you please edit the answer to update/remove the dead links? – Aaron Aug 11 '15 at 12:48

According to your question the very good example is on this link . This link contains various beautiful map collections using R software . I am sure this will help you!!. I am also referring above site for reference..

Please let us know if you have any questions..

share|improve this answer
these are really beautifull maps. especially the London cycle hire. The code is fully provided. Some of the maps miss some basic features (legend, scale, northarrow etc.) but from a asthetic point of view they are great. thanks. – Dspanes Jan 23 '13 at 15:08

The ebook "Data mashups in R" is just 40 Pages long and will walk you through an example project (mapping foreclosures in Washington DC)

From the first reader-review :

This book presents an interesting project, drawing together a number of data sources and geocoding them.

I've once skimmed the PDF, want to have a closer look someday. It's on my to-do list.

share|improve this answer
thank you for the link. I've just checked out the book. It seems quite interesting and it's for free :) not that much layout advices though. – Dspanes Jan 23 '13 at 15:06

I have found a nice example R-script with several demonstrations of packages, map styling and also basic GIS operations. Maybe this'll come in handy for some readers.

Using R as a GIS

share|improve this answer

If somebody is still following. Here you can find a huge amount of tutorials and links on diffrent mapping themes in R:

and for some basic stuff like legend, scalebar and north-arrow look at the code here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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