Skip to content
Prev 26203 / 63424 Next

(PR#9917) rbind.data.frame converts character column to

This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--27464147-159404577-1190380210=:1425
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

Please do read the documentation, which says

      The 'rbind' data frame method first drops all zero-column and
      zero-row arguments.

So your first data frame has been dropped, and the result is the same as
rbind.data.frame(list(a = "foo")) which should give a factor column via 
promotion of a list to a data frame.
On Tue, 18 Sep 2007, sebastien.villemot at ens.fr wrote: