---
layout: post
title: "Comparing duckdb and duckplyr to tibbles, data.tables, and data.frames (CC279)"
blurb: "Benchmarking R's data frames (part 3)"
author: "PD Schloss"
date: 2024-05-02 11:00
comments: false
youtube: AtiJd4iIMWA
start_hash: 526160fed6a5c227de6a79df0772d457eb9f48ba
end_hash: 8681006dd109633b1eb50652b48609a51a2ee7f8
---

Watch along as Pat shows a variety of approaches for obtaining rows from data frames, data tables, tibbles, sparse matrices, and vectors and then compares their performance. Which do you think will be the most performant? You'll likely be surprised by the results! This episode is part of an ongoing effort to develop an R package that implements the naive Bayesian classifier.

<iframe style="margin: 0 auto;display:block;" width="560" height="315" src="https://www.youtube.com/embed/{{ page.youtube }}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Code

You can browse the state of the repository at the

* [beginning of the episode](https://github.com/riffomonas/phylotyper/tree/{{page.start_hash}})
* [end of the episode](https://github.com/riffomonas/phylotyper/tree/{{page.end_hash}})
