Skip to content
Prev 315621 / 398502 Next

columns called X rename Y

Hello,

Try the following.


names(seba)[grep("numbers", names(seba))] <- "b"
names(seba)[grep("constant", names(seba))] <- "c"

names(seba)


Hope this helps,

Rui Barradas

Em 18-01-2013 18:14, Sebastian Kruk escreveu: