Skip to content
Prev 1901 / 12125 Next

[R-pkg-devel] tibbles are not data frames

Here's one difference:

atib <- tibble(a = 1:5, b = letters[5:1])
atib[3,"a"]
as.data.frame(atib)[3,"a"]

The second line returns a tibble (no dropping dimensions), the third line
does (dropping dimensions). Huge difference if you use [ , aColumn] to
select a vector from a data frame.

Cheers
Joris

On Tue, Sep 26, 2017 at 10:57 AM, Stefan McKinnon H?j-Edwards <sme at iysik.com

  
    

Thread (48 messages)

Göran Broström tibbles are not data frames Sep 26 Stefan McKinnon Høj-Edwards tibbles are not data frames Sep 26 Alexandre Courtiol tibbles are not data frames Sep 26 Göran Broström tibbles are not data frames Sep 26 Joris Meys tibbles are not data frames Sep 26 Stefan McKinnon Høj-Edwards tibbles are not data frames Sep 26 Joris Meys tibbles are not data frames Sep 26 Gábor Csárdi tibbles are not data frames Sep 26 Göran Broström tibbles are not data frames Sep 26 Göran Broström tibbles are not data frames Sep 26 Daniel Lüdecke tibbles are not data frames Sep 26 Gábor Csárdi tibbles are not data frames Sep 26 David Hugh-Jones tibbles are not data frames Sep 26 Stefan McKinnon Høj-Edwards tibbles are not data frames Sep 26 Alexandre Courtiol tibbles are not data frames Sep 26 Joris Meys tibbles are not data frames Sep 26 Thierry Onkelinx tibbles are not data frames Sep 26 Holger Hoefling tibbles are not data frames Sep 26 CJ Yetman tibbles are not data frames Sep 26 Iñaki Ucar tibbles are not data frames Sep 26 Daniel Lüdecke tibbles are not data frames Sep 26 Pedro J. Aphalo tibbles are not data frames Sep 26 Göran Broström tibbles are not data frames Sep 26 Gábor Csárdi tibbles are not data frames Sep 26 Göran Broström tibbles are not data frames Sep 26 Jeroen Ooms tibbles are not data frames Sep 26 Hadley Wickham tibbles are not data frames Sep 26 Joris Meys tibbles are not data frames Sep 26 Hadley Wickham tibbles are not data frames Sep 26 Hadley Wickham tibbles are not data frames Sep 26 Pedro J. Aphalo tibbles are not data frames Sep 26 Hadley Wickham tibbles are not data frames Sep 26 Joris Meys tibbles are not data frames Sep 26 Göran Broström tibbles are not data frames Sep 26 Hadley Wickham tibbles are not data frames Sep 26 Joris Meys tibbles are not data frames Sep 26 Hadley Wickham tibbles are not data frames Sep 26 Jens Oehlschlägel tibbles are not data frames Sep 26 Hadley Wickham tibbles are not data frames Sep 26 John C Nash tibbles are not data frames Sep 26 Dirk Eddelbuettel tibbles are not data frames Sep 26 Duncan Murdoch tibbles are not data frames Sep 26 John C Nash tibbles are not data frames Sep 26 Jim Lemon tibbles are not data frames Sep 26 Jens Oehlschlägel tibbles are not data frames Sep 27 Jens Oehlschlägel tibbles are not data frames Sep 27 Duncan Murdoch tibbles are not data frames Sep 27 Göran Broström Summary: tibbles are not data frames Sep 29