Re: [R] read.table

From: Marc Schwartz <MSchwartz_at_mn.rr.com>
Date: Thu 19 Oct 2006 - 21:11:56 GMT

On Thu, 2006-10-19 at 17:06 -0400, Weiwei Shi wrote:
> thanks. i know how to go around it but i feel read.table should have
> something like that to disable the process of adding "X" to the header
> :)

You could try setting 'check.names = FALSE' to see what you end up with in terms of column names. That will effectively disable the use of make.names() to validate/adjust the incoming column names.

The risk here is unknown depending upon the root etiology of the problem.

HTH, Marc Schwartz



R-help@stat.math.ethz.ch 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. Received on Fri Oct 20 07:22:09 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 19 Oct 2006 - 22:30:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.