The essential functions of R cheatsheet

[This article was first published on R on R (for ecology), and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

? Download link is at the bottom of the post ?

Something that I quickly came to learn as an ecologist using R is that out of the hundreds (possibly thousands?) of functions available in R, only a handful were those that I used frequently throughout my code.

I’m also learning to speak Spanish right now, and I’ve found that for learning a new language it is a good idea to start by focusing on the most common words, since only those few words account for a significant proportion of everything you’ll ever need to say.

Anyone familiar with Tim Ferriss probably knows about the 80-20 rule (Pareto’s principle) that he’s made popular throughout his books and podcasts. The rule simply states that 80% of results come from 20% of the work.

To apply that to learning a language, learning only a small proportion of words (20%) will allow you to say a large proportion (80%) what you’d ever need to say. Now, these percentages might not be exactly the same for every application, but hopefully you get the point.

Now back to R! So, that’s what I did with all the functions I use in R. I found the “20%” of functions that I ever used in ecology that gave me the most results. In other words, if you learn these functions (51 functions to be exact), you will be well on your way to do almost anything you need to do with your data. And if there’s something missing, that will be easy to learn when you need it.

So here is my version 1.0 of a cheat sheet on the essential functions of R (for ecology). Please enjoy and share! Notice a typo? Let me know in the comments below.

Click here to download the Essentials of R cheatsheet v1.0

If you liked this post and want to learn more, then check out my online course on the complete basics of R for ecology:

Also be sure to check out R-bloggers for other great tutorials on learning R

To leave a comment for the author, please follow the link and comment on their blog: R on R (for ecology). offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)