Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

maps-deprecated

DEPRECATED


Description

The old, legacy, world map (which dates from around 1990) will be completely removed in future versions (not before 2019) of the maps package. The data set will remain available in the mapdata package.

Format

During a transition period (maps version 3.0–3) 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.

In future releases, this dataset will be removed completely. It will however remain available in the mapdata package (as of version 2.3.0), where it is called worldLores

See Also

Examples

## DEPRECATED:
# map('legacy_world', fill = TRUE, col = 1:10)
## Use mapdata::worldLores instead:
#Not run
if (requireNamespace("mapdata", quietly=TRUE) && packageVersion("mapdata") >= "2.3.0") {
  map("mapdata::worldLores", fill = TRUE, col = 1:10)
}

maps

Draw Geographical Maps

v3.3.0
GPL-2
Authors
Original S code by Richard A. Becker and Allan R. Wilks. R version by Ray Brownrigg. Enhancements by Thomas P Minka and Alex Deckmyn.
Initial release
2018-04-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.