Ben, Unless I misunderstand your question, why not just use names(frame)[3]<-"col3"
Better way to change the name of a column in a dataframe?
1 message · Benjamin Tyner
1 message · Benjamin Tyner
Ben, Unless I misunderstand your question, why not just use names(frame)[3]<-"col3"