I want to add a label to my dataset. However, the problems is that there are so many columns in my data sets so adding the labels manually is laborious.
Here's how I usually do it. sprintf prints the numbers directly. By adding %02d or %03d you can add leading zeroes, which is helpful when dealing with large numbers :D
features <- c(sprintf("f%02d", seq(1,32)),"label")
colnames(urc_training_norm) <- features