[R] Labeling the theme of shp file in R

From: JIRUŠE Marek <jiruse_at_gfk.cz>
Date: Wed 05 Oct 2005 - 21:12:24 EST

Dear R-users,

I am using the package maptools to draw a shp file in R with a function Map2poly() without problem. I would appreciate to know how can I add the labels of the objects in the map. Thank you for any advice.

library(maptools)
try <- read.shape(system.file("data shp/okresy.shp", package="maptools")) mappolys <- Map2poly(try,quiet=FALSE)
plot(mappolys)

Marek Jiruse
Data Production Specialist
GfK Praha, s.r.o.
Geologická 2
CZ - 152 00 Praha 5
tel.: +420 296 555 694
fax: +420 251 815 800
e-mail: jiruse@gfk.cz
http://www.gfk.cz



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Oct 05 21:18:06 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:20:00 EST