Re: R-alpha: read.table( 1 column ) bug

Martin Maechler (maechler@stat.math.ethz.ch)
Fri, 20 Dec 96 10:23:00 +0100


Date: Fri, 20 Dec 96 10:23:00 +0100
Message-Id: <9612200923.AA10045@>
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: jlindsey@luc.ac.be
In-Reply-To: <9612200847.AA04957@alpha.luc.ac.be> (message from Jim Lindsey on
Subject: Re: R-alpha: read.table( 1 column ) bug

I can confirm the first buglet 

>>>>> "Jim" == Jim Lindsey <jlindsey@luc.ac.be> writes:

    Jim> 1. when a data file has only one column, read.table creates a
    Jim> vector twice too long by doubling the data. It did not do this on
    Jim> 28 Nov (whatever version that was).

It did NOT occur in 0.13 and first must have krept in into 0.14 :

>   write(1:5,"i5",nc=1); system("wc i5"); read.table("i5")
      5       5      10 i5
      Var.1
 [1,]     1
 [2,]     2
 [3,]     3
 [4,]     4
 [5,]     5
 [6,]     1
 [7,]     2
 [8,]     3
 [9,]     4
[10,]     5

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-