From h.wickham at gmail.com  Tue Mar  1 16:12:00 2016
From: h.wickham at gmail.com (Hadley Wickham)
Date: Tue, 1 Mar 2016 09:12:00 -0600
Subject: [Rd] Data frame printing buglet when multiple empty column names
Message-ID: <CABdHhvEZbfENNUp8w1SszEFkKYfGNAsvZ_KXw=wMhqebmv0DAg@mail.gmail.com>

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



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