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
GSpatialobject, 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
sourcesof the object to be deleted. Argumenttypemust be specified.
GSpatialobject (i.e., aGRasterorGVector): 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, thenxMUST be specified andtypemust be 'raster' or'vector'(one value per value inx). This has no effect ifxis aGSpatialobject. It's main use is to save a bit of time.
