Skip to content

rbind_all vs rbind #279

Closed
Closed
@geoffjentry

Description

@geoffjentry

Hi ...

I have a list of data.frame objects at http://geoffjentry.hexdump.org/example.rda - it contains the list as 'example'.

The following works for me:
do.call(rbind, example)

As suggested by dplyr I wanted to look at replacing that pattern with rbind_all(), but am running into this:

rbind_all(example)
Error: incompatible type (data index: 4, column: 'replyToSN', was collecting: logical (dplyr::Collecter_Impl<10>), incompatible with data of type: STRSXP

Note that replyToSN is NA in the first 3 data.frames and a string in the fourth, I'm assuming that's what is causing the issue here.

Thanks!
-J

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions