15.12 Changing the Names of Items in a Character Vector

15.12.1 Problem

You want to change the names of items in a character vector.

15.12.4 See Also

If, instead of a character vector, you have a factor with levels to rename, see Recipe 15.10.