[R] USA map

Ray Brownrigg ray at mcs.vuw.ac.nz
Wed Nov 5 00:12:38 CET 2003


> From kjetil at entelnet.bo Wed Nov  5 11:31:52 2003
> 
> but I cannot find any function to find the avalable region names in
> a map database
> 
They are in the .N file for the appropriate map.

Try:
library(maps)
data(worldMapEnv)
file.show(paste(Sys.getenv(worldMapEnv), "world.N", sep="/"))

These ASCII files are in the form:
region[:subregion] polygonNumber

Ray Brownrigg




More information about the R-help mailing list