Learn R Programming

⚠️There's a newer version (1.3.1) of this package.Take me there.

dtplyr

dtplyr is the data.table backend for dplyr. It provides S3 methods for data.table objects so that dplyr works the way you expect.

dtplyr will always be a bit slower than data.table, because it creates copies of objects rather than mutating in place (that's the dplyr philosophy). Currently, dtplyr is quite a lot slower than bare data.table because the methods aren't quite smart enough. I hope interested dplyr & data.table users from the community will help me to improve the performance.

dtplyr was extracted out of dplyr so it could evolve independently (i.e. more rapidly!) than dplyr. It also makes dplyr a little simpler, and it's easier to keep track of issues by backend.

Installation

You can install from CRAN with:

install.packages("dtplyr")

Or try the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("hadley/dtplyr")

Copy Link

Version

Install

install.packages('dtplyr')

Monthly Downloads

490,022

Version

0.0.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Lionel Henry

Last Published

February 25th, 2019

Functions in dtplyr (0.0.3)

join.tbl_dt

Join data table tbls.
src_dt

A local data table source.
dtplyr-package

dtplyr: Data Table Back-End for 'dplyr'
grouped_dt

A grouped data table.
tbl_dt

Create a data table tbl.