world
database
based on latitudes [0, 360), which then has the Pacific
Ocean in the centre of the map.
data(world2MapEnv)
fill=TRUE
, though. There may be jagged edges at the boundaries. R_MAP_DATA_DIR_WORLD
for the datasets in the
maps package) is set at package load time if it does not
already exist. Hence setting the environment variable before loading
the package can override the default location of the binary datasets. During a transition period (maps
version 3.0--1) it is possible to switch to the old legacy map using the function world.legacy(TRUE)
or by setting the setting the environment variable R_MAP_DATA_LEGACY=TRUE prior to loading the package. Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT\&T Bell Laboratories Statistics Research Report [95.2], 1995.
map
, world
,legacy_world2
map('world2', xlim = c(100, 300))
map.axes()
Run the code above in your browser using DataLab