R: Zmień nazwę kolumny
colnames(df)[which(names(df) == "columnName")] <- "newColumnName"
Andrea Perlato
colnames(df)[which(names(df) == "columnName")] <- "newColumnName"