[R] read.table

Marc Schwartz MSchwartz at mn.rr.com
Thu Oct 19 23:11:56 CEST 2006


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



More information about the R-help mailing list