Rename a raster or vector in an existing GRASS session.
Arguments
- from, to
sourcesof the raster or vector to rename.- rastOrVect
Either
NULL(default),"raster", or"vector". This specifies the type of object to be renamed. Partial matching is allowed. If left asNULL(default), the function will try to identify if the object is a raster or vector, and return an error if there is both a raster and vector of given name. Note that unlike in R, GRASS can have rasters and vector"s with the same name.
