| .rename | R Documentation | 
Rename a raster or vector in an existing GRASS session.
.rename(from, to, rastOrVect = NULL)
| from,to | 
 | 
| rastOrVect | Either  | 
The function invisibly returns TRUE if the desired rasters and/or vectors were named, and FALSE if raster and/or vector to be renamed did not exist in the GRASS session. Notably, a raster or vector or both are renamed in an existing GRASS session.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.