How to use data.table in R

Arindam Basu
6 min readJun 28, 2022

The package data.table is a great package for handling data frames in R. This is a very basic introduction to the various things you can do with data.table package to get you started.

You install it using install.packages('data.table') and start using right away. The documentation for the package is at https://github.com/Rdatatable/data.table/wiki/Getting-started

Concepts

--

--

Arindam Basu

I am a Medical Doctor and an Associate Professor of Epidemiology and Environmental Health at the University of Canterbury. Founder of TwinMe,