Re: [R] Error when naming rows of dataset

From: Michael Dewey <info_at_aghmed.fsnet.co.uk>
Date: Wed 25 Oct 2006 - 10:38:29 GMT

At 17:30 24/10/2006, yongchuan wrote:
>I get the following error when I try reading in a table.
>How are 1.1, 1.2, 1.3 duplicate row names? Thx.

R gives you brief details of where it was when it fell over. Have you checked in latestWithNumber.txt' to see whether R is right?

> > table <- read.table('latestWithNumber.txt', header=T)
>Error in "row.names<-.data.frame"(`*tmp*`, value = c("1.1", "1.2", "1.3", :
> duplicate 'row.names' are not allowed
>
>Yongchuan

Michael Dewey
http://www.aghmed.fsnet.co.uk



R-help@stat.math.ethz.ch 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. Received on Thu Oct 26 11:22:35 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 26 Oct 2006 - 02:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.