From murdoch at stats.uwo.ca  Mon Oct 25 13:20:32 2004
From: murdoch at stats.uwo.ca (murdoch@stats.uwo.ca)
Date: Mon Oct 25 13:20:36 2004
Subject: [Rd] write.table in R 2.0.0 (PR#7312)
Message-ID: <20041025112032.9E511EFCB@slim.kubism.ku.dk>

This has nothing to do with write.table.  The column names in x are
"x" and "x.1".

This is documented in the NEWS file:

    o	data.frame(check.names = TRUE) (the default) enforces unique
	names, as S does.

Duncan Murdoch


On Mon, 25 Oct 2004 10:36:48 +0200 (CEST), a.buness@dkfz.de wrote:

>Full_Name: Andreas
>Version: R 2.0.0
>OS: Linux
>Submission from: (NULL) (193.174.58.148)
>
>
>R 2.0.0
>
>> x <- data.frame(x=c(1,2), x=c(1,2))
>> write.table(x, col.names=NA, sep="\t")
>""      "x"     "x.1"
>"1"     1       1
>"2"     2       2
>
>
>R 1.9.1
>
>> write.table(x, col.names=NA, sep="\t")
>""      "x"     "x"
>"1"     1       1
>"2"     2       2
>
>______________________________________________
>R-devel@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] write.table in R 2.0.0 (PR#7312)
murdoch@stats.uwo.ca