maps (version 3.3.0)

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.

Arguments

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

map,world.legacy,world

Examples

Run this code
# NOT RUN {
## 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)
}
# }

Run the code above in your browser using DataLab