[R] Map of British Colonial America 1775

Ray Brownrigg ray at mcs.vuw.ac.nz
Wed Mar 10 20:32:21 CET 2004


>       I've reviewed the "map" documentation I've found so far with 
> S-Plus 6.2 and R including "www.r-project.org" -> search -> "R site 
> search" -> "world map" and Becker & Wilkes (1993) "Maps in S" cited in 
> the "map" documentation.  I've noticed that, for example, 
> 'library(maps);  map("world", "UK:Bermuda")' produces an 83-point 
> polygon sketch in S-Plus 6.2 but only a degenerate 3-point polygon (with 
> the third point = the first) in R 1.8.1. 
> 
You need the mapdata package.  The default "world" database in S-Plus is
the high-resolution one (with also "world.thin").  In R the high
resolution one is "worldHires" from mapdata (mainly so that the
standard maps package is a manageable size).

Ray Brownrigg




More information about the R-help mailing list