rename collumns R code example Example: r: rename a column colnames(df)[which(names(df) == "columnName")] <- "newColumnName"