[R] Error when naming rows of dataset

From: yongchuan <panyc_at_pacific.net.sg>
Date: Tue 24 Oct 2006 - 16:30:06 GMT


I get the following error when I try reading in a table. How are 1.1, 1.2, 1.3 duplicate row names? Thx.

> 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



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 Wed Oct 25 04:05:13 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 - 01:30:14 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.