Start Learning for Free

Join over 500,000 other Data Science learners and start one of our interactive tutorials today!

Topic r small

The data.table R package cheat sheet

November 24th, 2014 in R Programming

The data.table R package provides an enhanced version of data.frame that allows you to do blazing fast data manipulations. The data.table R package is being used in different fields such as finance and genomics, and is especially useful for those of you that are working with large data sets (e.g. 1GB to 100GB in RAM).

Although its typical syntax structure is not hard to master, it is unlike other things you might have seen in R. Hence the reason to create this cheat sheet. DataCamp’s data.table cheat sheet is a quick reference for doing data manipulations in R with the data.table R package and syntax

The cheat sheet will guide you from doing simple data manipulations using data.table’s basic i, j, by syntax, to chaining expressions, to using the famous set()-family.

(To practice using the data.table package, try the free first chapter of this course, which includes exercises in subsetting a data.table and manipulating data with data.table's by, .N, and j syntax. )

data.table R package tutorial cheat sheet

Comments

julia-l-clark
Can I add to the request that you reformat so that it is printable in a readable fashion. At the moment it is all squeezed vertically onto one page. One pane per page would be useful, we can always choose to have 2 on a page when printing.
03/25/17 9:42 AM |
peterandrews
Agree. Please format to allow printing.
02/09/17 5:50 PM |
alyssacaloriotasha
The information on this cheat sheet looks pretty useful. Too bad you can't actually print it to use it.
01/20/17 7:16 PM |
robertmuwanga
Is it possible to format this cheat sheet in A4 so that we can print it?
10/27/16 4:08 PM |
cindyshu420
This cheat sheet would be a lot more usable if it's formatted in a normal way
08/25/16 11:15 PM |
View All Comments