# NOT RUN {
data <- data.frame(x=1:10,y=1:10,z=1:10)
names(data)
data <- rename.vars(data, c("x","y","z"), c("first","second","third"))
names(data)
data <- remove.vars(data, "second")
names(data)
# }
Run the code above in your browser using DataLab