Thank you guys. But I also want 'check.names' to help keeping colnames unique. It seems there's no proper option for that in 'read.table'. I have to alter colnames with strsplit or other similar functions.
From: jim holtman [mailto:jholt...@gmail.com] Sent: Thursday, May 28, 2009 3:40 PM To: Zheng, Xin (NIH) [C] Cc: r-help@r-project.org Subject: Re: [R] how to avoid add 'X' before numeric colnames when read.table ?read.table check.names=FALSE On Thu, May 28, 2009 at 3:25 PM, Zheng, Xin (NIH) [C] <zheng...@mail.nih.gov<mailto:zheng...@mail.nih.gov>> wrote: Hi all, Is there any way to keep numeric colnames as is? Any hint will be appreicated. Xin Zheng [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org<mailto: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<http://www.r-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? [[alternative HTML version deleted]] ______________________________________________ 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.