R: переименовать колонку
colnames(df)[which(names(df) == "columnName")] <- "newColumnName"
Andrea Perlato
colnames(df)[which(names(df) == "columnName")] <- "newColumnName"