Sets the package data directory where spatial data is located. If the directory does not exist, it will be created.

setSpatialDataDir(dataDir)

Arguments

dataDir

Directory where spatial datasets are created.

Value

Silently returns previous value of data directory.

See also

SpatialDataDir

getSpatialDataDir