Amazing! I haven't seen usage of calling `names<-` like this before. Thanks so much!
On Thu, Mar 11, 2010 at 9:50 PM, Henrique Dallazuanna <www...@gmail.com> wrote: > Yes, just in the list. > If they want change the name in Environment GlobalEnv: > > for(i in ls(pattern = "DF[0-9]")) > assign(i, `names<-`(get(i), c("SDev","PC1", "PC2", "PC3", > "PC4", "PC5", "PC6")), globalenv()) > > -- > Henrique Dallazuanna > Curitiba-Paraná-Brasil > 25° 25' 40" S 49° 16' 22" O > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.