There are times when you need to rename a variable or column in your data frame (data set). This might be to remove spaces in column names or to allow the variable name better represent the concept being measured. The following provides a couple of different ways to rename variables.