RE: [R] duplicate row importing issue

2004-07-14 Thread Liaw, Andy
IL PROTECTED] On Behalf Of Herman, David > (NIH/NIMH) > Sent: Wednesday, July 14, 2004 11:13 > To: '[EMAIL PROTECTED]' > Subject: [R] duplicate row importing issue > > Hello, > I'm simply trying to import a .txt file that has > a column of >

RE: [R] duplicate row importing issue

2004-07-14 Thread F Duan
D]' Subject: [R] duplicate row importing issue Hello, 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*`, valu

RE: [R] duplicate row importing issue

2004-07-14 Thread John Fox
y, July 14, 2004 10:13 AM > To: '[EMAIL PROTECTED]' > Subject: [R] duplicate row importing issue > > Hello, > 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: > &

Re: [R] duplicate row importing issue

2004-07-14 Thread Adaikalavan Ramasamy
Try read.table(choose.files(), row.names=NULL). BTW, I think you might be using an older R version because in R-1.9.1, the value for row.names is missing by default in read.table(). > args(read.table) function (file, header = FALSE, sep = "", quote = "\"'", dec = ".", row.names, col.names, as

[R] duplicate row importing issue

2004-07-14 Thread Herman, David (NIH/NIMH)
Hello, 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 wit