data(worldMapEnv)
R_MAP_DATA_DIR
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.Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.
map
map('world', fill = TRUE, col = 1:10)
Run the code above in your browser using DataLab