Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mkuhn
Last active September 30, 2015 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkuhn/b1b6ad8d37c63b1e929d to your computer and use it in GitHub Desktop.
Save mkuhn/b1b6ad8d37c63b1e929d to your computer and use it in GitHub Desktop.
> library(purrr)
> ll <- list(list(a=1:3, b=4), list(a=5:7, b=8))
> ll %>% map(lift_dl(c)) %>% map_call(rbind)
a1 a2 a3 b
[1,] 1 2 3 4
[2,] 5 6 7 8
> Reduce(rbind, ll)
a b
init Integer,3 4
Integer,3 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment