search for: vec_rbind

Displaying 3 results from an estimated 3 matches for "vec_rbind".

2018 Aug 06
2
vctrs: a type system for the tidyverse
...is little more complex: <https://github.com/r-lib/vctrs/blob/master/R/c.R>) On top of this foundation, vctrs expands in a few different ways: - To consider the ?type? of a data frame, and what the common type of two data frames should be. This leads to a natural implementation of `vec_rbind()` which includes all columns that appear in any input. - To create a new ?list\_of? type, a list where every element is of fixed type (enforced by `[<-`, `[[<-`, and `$<-`) - To think a little about the ?shape? of a vector, and to consider recycling as part of the type syste...
2018 Aug 06
3
vctrs: a type system for the tidyverse
...erwise know what the constraints are. >> On top of this foundation, vctrs expands in a few different ways: >> >> - To consider the ?type? of a data frame, and what the common type of >> two data frames should be. This leads to a natural implementation of >> `vec_rbind()` which includes all columns that appear in any input. > > > I must admit I'm a bit surprised here. rbind is one of the few places that > immediately come to mind where R takes a fail early and loud approach to > likely errors (as opposed to the more permissive do soemthing tha...
2018 Aug 06
0
vctrs: a type system for the tidyverse
...https://github.com/r-lib/vctrs/blob/master/R/c.R>) > > On top of this foundation, vctrs expands in a few different ways: > > - To consider the ?type? of a data frame, and what the common type of > two data frames should be. This leads to a natural implementation of > `vec_rbind()` which includes all columns that appear in any input. > I must admit I'm a bit surprised here. rbind is one of the few places that immediately come to mind where R takes a fail early and loud approach to likely errors (as opposed to the more permissive do soemthing that could be what the...