[R] problem with read.table -- example

Ott Toomet siim at obs.ee
Fri Jan 25 11:24:28 CET 2002


Hi,

I have not get much response for my question about read.table for couple of
days ago.  As I said, the problem is that read.delim() do not want to read
more than 51 lines of data, with longer file it reads the first column as
row names, although I have not noticed any special binary symbols around
line 51 either.  This problem seems to happen with this particular file, I
could easily read in a 12000 rows x 22 cols table.

I add my problematic file (it is really small) here, in a uuencoded gziped
form.  What I did was:

> a <- read.delim("tab20.and")
Error in "row.names<-.data.frame"(*tmp*, value = row.names) :
	duplicate row.names are not allowed

I am interested if anybody (specially on RH 7.1) is able to read the table
in the same way.

Thanks in advance,

Ott Toomet


My R-version is 1.4.0 without any patches I am aware of:

platform i686-pc-linux-gnu
arch     i686
os       linux-gnu
system   i686, linux-gnu
status
major    1
minor    4.0
year     2001
month    12
day      19
language R

And the table itself:

begin 664 tab20.and.gz
M'XL("%'M3SP``W1A8C(P+F%N9`"=T\L. at D`,!=`U_(N3ON;1_W&O,?Y_!$$'
M>M$869&3MA<FG?MPO5W.8TTT/P,E8M9&-#H(:XIB4:2`>)0L,$<I?4P7<9]$
M:PIB#.)1-EFK,'L*D]>LTT3JN<Y%:]B6'$@:4!4 at QT:FY\'MB)&6C]^31A(N
M6-43LY69"@-Y`Y)^ZI0UTTPY16I(VANKR?*+*4JO*;;,!M&_Q$`:"/=E>:4+
MB(+4*`I="EV:HQC4'(A%87I?BU5R7]5IATQI>._\AJ17$=7G^\B;Q?QFPC]:
31=.&9D>YR_7:V0/)#`.YB`0`````
`
end

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list