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
=FALSE)
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:

duplicated(exprSet[,1])

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

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to