Re: [R] A question about *read.table()*

From: Charilaos Skiadas <>
Date: Fri, 30 May 2008 21:05:03 -0400

On May 30, 2008, at 7:56 PM, ss wrote:

> and I got an error message:
>> exprSet <- read.table('process_all4_GSA2.txt', row.names = 1,header

> Error in read.table("process_all4_GSA2.txt", row.names = 1, header
> = FALSE)
> :
> duplicate 'row.names' are not allowed

I would say that's pretty explanatory. You've asked it to use the first column for row names, but apparently there are two rows with the same name, and we can't have that.
Perhaps you might want to try to load it without the row.names=1 part, and then use:


to see which rows are the ones with the same name.

Haris Skiadas
Department of Mathematics and Computer Science Hanover College mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 02 Jun 2008 - 04:19:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 02 Jun 2008 - 04:30:39 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive