tmap: thematic maps in R
tmap is an actively maintained open-source R-library for drawing thematic maps, written by Martijn Tennekes. The API is based on A Layered Grammar of Graphics by Hadley Wickham and resembles the syntax of
ggplot2, a popular R-library for drawing charts.
tmap is available on CRAN. The latest version is 1.6-1 (2016-10-29).
tmap packages relies on the R packages
rgeos, which depend on the external libraries
geos. On Windows, these are embedded in
rgeos. On Linux (Ubuntu), these libraries can be installed as follows:
sudo apt-get install libgdal-dev sudo apt-get install libproj-dev sudo apt-get install libgeos-dev
Odd numbered versions will be development versions and even numbered versions stable CRAN releases (as with data.table).
The latest development version can be installed using
devtools. In the latest development version, non-plotting functions have been migrated to tmaptools.
library(devtools) install_github("mtennekes/tmaptools") install_github("mtennekes/tmap", subdir = "pkg")
Do you want to help with the development of the package? Please let me know! Any feedback, requests, tips, or bug reports are welcome!