Delete the names of all rasters and/or vectors that have been exported to or created in the active GRASS session's location and mapset.
Arguments
- x
Character, a
GSpatial
object, or missing (default):Character:
Any of
"rasters"
(all rasters),"vectors"
(all spatial vectors),"rasters3d"
(3D-rasters), and/or"groups"
(groups), and all of these types will be deleted. Partial matching is supported.The
sources
of the object to be deleted. Argumenttype
must be specified.
GSpatial
object (i.e., aGRaster
orGVector
): Delete this object.Missing: Delete everything in the active GRASS session.
- type
The type of spatial objects to delete. This can include
"rasters"
(all rasters),"vectors"
(all spatial vectors),"rasters3d"
(3D-rasters), and/or"groups"
(groups). Partial matching is supported. If missing, all objects are candidates for deletion if they matchx
.- warn
Logical: If
TRUE
(default), display warning if no matches or if everything in GRASS is to be deleted.- verify
Logical: If
TRUE
(default), the function will search for the item(s) to be deleted first to verify they exist. If this isFALSE
, thenx
MUST be specified andtype
must be 'raster
' or'vector'
(one value per value inx
). This has no effect ifx
is aGSpatial
object. It's main use is to save a bit of time.