Sets the package data directory where spatial data is located. If the directory does not exist, it will be created.
setSpatialDataDir(dataDir)
Directory where spatial datasets are created.
Silently returns previous value of data directory.
SpatialDataDir
getSpatialDataDir