"Uwe Ligges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > vnames <- paste("Height", 1:20, sep=".")
Interesting but not suitable. It creates a name even if such a variable does not exist. I have 6000 variables. The numeric component of the variable name goes from 0 to about 10000000. The output from the for loop would be largely empty space. Thanks for teaching me the paste() which will come in use later. I saw a response that makes use of names() or colnames() -- Farrel Buchinsky, MD Pediatric Otolaryngologist Allegheny General Hospital Pittsburgh, PA ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
