From @nto|ne@|@br| @end|ng |rom gm@||@com  Thu Jan  2 23:10:36 2020
From: @nto|ne@|@br| @end|ng |rom gm@||@com (Antoine Fabri)
Date: Thu, 2 Jan 2020 23:10:36 +0100
Subject: [Rd] Bug/unhelpful error message when rbinding data frames
 containing data frame columns
Message-ID: <CAEKh8uj1QXrM+f30P_VnAomZWZ-nPLWH2bpOC6AjsduXkyAJ2g@mail.gmail.com>

Dear rdevel,

See the example below :

x <- data.frame(a=1)
x$b <- data.frame(z=1)
y <- x
rbind(x,y)
# Error in `.rowNamesDF<-`(x, value = value) :
#   duplicate 'row.names' are not allowed
# In addition: Warning message:
#   non-unique value when setting 'row.names': ?1?

I believe, that either it is a bug, and the data frame columns should be
rbind-ed themselves, or
an error should explicitly state that we can't use rbind on data frames
containing data frame columns (and it should be documented).

Thanks and happy 2020!

Antoine

	[[alternative HTML version deleted]]



[Rd] Bug/unhelpful error message when rbinding data frames containing data frame columns
Antoine Fabri