-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] list_cbind()
matrices
#1082
Comments
And of course also |
We don't have support for this in vctrs, so unfortunately it's a long way from coming to purrr: A <- matrix(1:4, 2, 2)
B <- matrix(5:8, 2, 2)
str(vctrs::vec_cbind(A, B))
#> New names:
#> • `` -> `...1`
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...4`
#> 'data.frame': 2 obs. of 4 variables:
#> $ ...1: int 1 2
#> $ ...2: int 3 4
#> $ ...3: int 5 6
#> $ ...4: int 7 8 Created on 2023-07-26 with reprex v2.0.2 |
Thanks. I presume there are no plans to add it to vctrs, as the current behaviour always results in a data frame? |
Yeah, and I like the idea of keeping |
It would be nice if
list_cbind()
worked with matrices.The text was updated successfully, but these errors were encountered: