5.5 Resources

Here are some pointers on tibbles and related data tables:

5.5.1 Help on tibbles

For more details on tibbles and the tibble package (Müller & Wickham, 2019):

Essential **tibble** commands on the back of the [RStudio cheatsheet](https://www.rstudio.com/resources/cheatsheets/) on **Data Import**.

Figure 5.3: Essential tibble commands on the back of the RStudio cheatsheet on Data Import.

  • Another way of creating tibbles is by importing data files in various formats (e.g., with readr::read_csv or readr::read_delim). The readr package (Wickham et al., 2018) will be covered in the next chapter on Importing data (Chapter 6).

5.5.2 Miscellaneous

  • See the data.table package and its homepage for an alternative extension of the base R data.frame.

  • See the R package datapasta and its vignette for a clipboard-based solution for cut-and-pasting data into RStudio.

  • See this thread on the R-pkg-devel mailing list for a discussion about the pros and cons of tibbles being data frames.


[05_tibbles.Rmd updated on 2020-10-22 16:50:44 by hn.]


Müller, K., & Wickham, H. (2019). tibble: Simple data frames. Retrieved from https://CRAN.R-project.org/package=tibble

Wickham, H., & Grolemund, G. (2017). R for data science: Import, tidy, transform, visualize, and model data. Retrieved from http://r4ds.had.co.nz

Wickham, H., Hester, J., & Francois, R. (2018). readr: Read rectangular text data. Retrieved from https://CRAN.R-project.org/package=readr