There is a great tidyr::separate() function that allows splitting a character column to multiple columns based on some regex. Is there a similar function in tidyverse when the target column is a list of numbers, not a character?
library(tidyverse)
tribble(
~a,
1:3,
4:6)
#> # A tibble: 2 x 1
#> a
#> <list>
#> 1 <int [3]>
#> 2 <int [3]>
Might not be the most elegant way of doing it, and I'm not sure how well it will work if you have vectors of uneven length (probably just the usual separate() warnings, but this works for your simple example (assuming I've understood what you're trying to do correctly).
In column b, you get a list of 3 elements. You can convert to tibble to then unnest and get three columns. Simpler than my previous code...(names are poorly chosen here. sorry)
Indeed but I detailed the intermediate step to add one column for example purpose! it is obvious that a two steps pipe can be shorten in one. I was just for demo.