Re: [Rd] Data frame printing buglet when multiple empty column names

2016-03-01 Thread Hadley Wickham
On Tue, Mar 1, 2016 at 12:48 PM, Martin Maechler wrote: >> Hadley Wickham >> on Tue, 1 Mar 2016 09:12:00 -0600 writes: > > > This is admittedly minor, and you shouldn't have repeated names in a > > data frame anyway, but: > > > df <- data.frame(1:3, 1:3, 1:3) > > > # O

Re: [Rd] Data frame printing buglet when multiple empty column names

2016-03-01 Thread Martin Maechler
> Hadley Wickham > on Tue, 1 Mar 2016 09:12:00 -0600 writes: > This is admittedly minor, and you shouldn't have repeated names in a > data frame anyway, but: > df <- data.frame(1:3, 1:3, 1:3) > # Ok > setNames(df, c("x", "y", "")) > # Not ok > setNames(d

[Rd] Data frame printing buglet when multiple empty column names

2016-03-01 Thread Hadley Wickham
This is admittedly minor, and you shouldn't have repeated names in a data frame anyway, but: df <- data.frame(1:3, 1:3, 1:3) # Ok setNames(df, c("x", "y", "")) # Not ok setNames(df, c("x", "", "")) Hadley -- http://hadley.nz __ R-devel@r-project.or