I can use the following code to change the name in the cells in my data.frame:
df$column <- gsub("Old name", "New name", df$column)