Comments (18)
I think I'll add rbind.tbl_df() and make sure it behaves like the dplyr equivalent.
from tibble.
Can this be reconsidered/reopened? Part of the justification for tibble is so you don't need all of dplyr just to have the data frame goodness. As such tibble should provide a suite of tools for working with tibbles or tbl_df
s.
An rbind.tbl_df()
would be a most useful addition to this package
from tibble.
Does this mean copying the bind_rows() implementation from dplyr? This seems to need at least Collecter, SlicingIndex and set_rownames().
from tibble.
Yeah, I'm not sure how to deal with that. One option would be to add a dplyr dependency to tibble (just a suggest), but that seems suboptimal.
from tibble.
I think we can leave this for now.
from tibble.
Not in near future - there is a lot of code powering bind rows that we'd need to duplicate. All the variable coercion stuff is complicated.
from tibble.
Is it being considered for the longer term future? Closing this issue gave me the impression this wasn't something you were going to deal with.
I have no doubt this is complicated; if it were easy I suspect it would have been done by now.
from tibble.
In the long long term I'd like to move data frame stuff related here but it's probably at least a year away
from tibble.
I think we could do just what data.table does -- they're patching rbind.data.frame()
: tidyverse/dplyr#606 (comment).
from tibble.
Did we agree to not patch fix rbind() and cbind()?
from tibble.
I'd prefer not to mess with base R functions
from tibble.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
from tibble.
Let's retry, also with cbind()
, now that we have vctrs.
from tibble.
👍
from tibble.
Things appear to have changed for R 4.0.0, the relevant FAQ in data.table was updated. Are we ok with a solution that works only in R 4.0.0 now, should we postpone until the tidyverse requires R 4.0.0?
from tibble.
I think it's fine to add a solution that only works in 4.0.0 and up. That will help the majority of users.
from tibble.
Done. I'll release to CRAN without it, we might want to do revdepchecks because users might rely on downcasting to data frames.
from tibble.
Do we still want this, given the complexities discussed in #909?
@DavisVaughan suggests to
link to
vec_rbind()
in thetibble::add_row()
documentation. i.e. "If you would like to row bind multiple data frames together, see..."Similar for
vec_cbind()
andtibble::add_column()
.
from tibble.
Related Issues (20)
- Error vectbl_assign: DLL requires the use of native symbols HOT 1
- Tibble printing rounding issue HOT 2
- [Accessibility issue] alt text for DiagrammeR::mermaid()
- tibble() behaves oddly with classed list columns
- `match(<num>, <num>)` fails on R 4.3.0.
- add_case/add_row silently converts factors to strings
- FR: Show column types like readr in the footer
- Feature request: Suppress message of new names being created in `tibble()` HOT 4
- YAML headers in Tibble
- Tweak the view function
- Calling tibble::rowid_to_column on an object of class "sf" before dplyr::rename will cause " internal error: can't find agr columns" HOT 5
- difference result between data.frame() with tibble()
- `as_tibble.data.table()` method? HOT 3
- Could `as_tibble.data.frame()` be stricter? HOT 2
- Error in stopifnot(is.character(filename), length(filename) == 1L) : reached elapsed time limit HOT 3
- Tibble creation not inputting (or displaying) correct values HOT 2
- create tibble with numeric(0) doesn't give same result as NULL column HOT 1
- Warn with `drop = TRUE` ?
- Weird row names inconsistency HOT 1
- Negative values after "num()" turned into a strange code, like "\033[31m0\033[39m\033[31m.\033......" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tibble.