Re: [Rd] row.names in data.frame with row.names NULL

2009-01-23 Thread Yetta Jager
In response to the Aug 20 posting by Vadim, I had the same issue with all kinds of complaints about row.names when it was not given in the read.table command; when it was set to NULL (data were actually shifted to the wrong names). I believe the problem was no comma (or specified delimiter) at

[Rd] row.names in data.frame with row.names NULL

2008-08-20 Thread Vadim Organovich
Dear R-devel, It appears that data.frame ignores row.names=NULL argument if it can guess the names from the first column. This behavior seems to contradict what the help page says, see the last sentence: If row names are not supplied in the call to 'data.frame', the row names are take

Re: [Rd] row.names in data.frame

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, Martin Maechler wrote: > Thanks a lot, Brian, > I've been very happy with your proposal, but haven't yet looked > at the details of the R-devel implementation. > The NEWS entry only mentions *integer* rownames as new feature - > which is exact from the user's perspective as yo

Re: [Rd] row.names in data.frame

2006-04-17 Thread Martin Maechler
Thanks a lot, Brian, I've been very happy with your proposal, but haven't yet looked at the details of the R-devel implementation. The NEWS entry only mentions *integer* rownames as new feature - which is exact from the user's perspective as you emphasize below. It might be worth mentioning that

Re: [Rd] row.names in data.frame

2006-04-17 Thread Prof Brian Ripley
On Mon, 17 Apr 2006, Don MacQueen wrote: > This looks like a good proposal to me, from an end-user's point of view. > > I have, from time to time, wished I could set row names to NULL. Not for > performance reasons, but because some aspect of my data, in combination with > how R handles row name

Re: [Rd] row.names in data.frame

2006-04-17 Thread Don MacQueen
This looks like a good proposal to me, from an end-user's point of view. I have, from time to time, wished I could set row names to NULL. Not for performance reasons, but because some aspect of my data, in combination with how R handles row names, was requiring me to explicitly manage them in s

[Rd] row.names in data.frame

2006-04-14 Thread Prof Brian Ripley
We know from the White Book p.57 that the row names of a data frame `are never NULL and must be unique'. R documents that row.names() returns a character vector, and in R (much more so than on S) a long character vector of short unique strings is expensive to store (I saw 72 bytes/row on a 64-