[R] duplicate row importing issue

F Duan f.duan at yale.edu
Wed Jul 14 18:58:01 CEST 2004

How about you delete the first row (column names) and then use
"header=FALSE" in read.table()?


-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Herman, David
Sent: Wednesday, July 14, 2004 11:13
To: 'r-help at stat.math.ethz.ch'
Subject: [R] duplicate row importing issue

            I'm simply trying to import a .txt file that has a column of
about 30,000 pts. I found the file, but I'm getting an error:
> m <- read.table(choose.files())
Error in "row.names<-.data.frame"(`*tmp*`, value = row.names) : 
        duplicate row.names are not allowed
Any help with getting around this?
I really appreciate all the help.

	[[alternative HTML version deleted]]

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!

More information about the R-help mailing list