Rename an Object
Rename an object.
mv(from, to, envir = parent.frame())
from |
Character scalar giving the source object name |
to |
Character scalar giving the desination object name |
envir |
Environment in which to do the rename |
This function renames an object by the value of object a
to the name b
, and removing a
.
Invisibly returns the value of the object.
Gregory R. Warnes greg@warnes.net
a <- 1:10 a mv("a", "b") b exists("a")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.