Jump to ratings and reviews
Rate this book

Efficient R Programming: A Practical Guide to Smarter Programming

Rate this book
There are many excellent R resources for visualization, data science, and package development. Hundreds of scattered vignettes, web pages, and forums explain how to use R in particular domains. But little has been written on how to simply make R work effectively--until now. This hands-on book teaches novices and experienced R users how to write efficient R code.

Drawing on years of experience teaching R courses, authors Colin Gillespie and Robin Lovelace provide practical advice on a range of topics--from optimizing the set-up of RStudio to leveraging C++--that make this book a useful addition to any R user's bookshelf. Academics, business users, and programmers from a wide range of backgrounds stand to benefit from the guidance in Efficient R Programming.


Get advice for setting up an R programming environment
Explore general programming concepts and R coding techniques
Understand the ingredients of an efficient R workflow
Learn how to efficiently read and write data in R
Dive into data carpentry--the vital skill for cleaning raw data
Optimize your code with profiling, standard tricks, and other methods
Determine your hardware capabilities for handling R computation
Maximize the benefits of collaborative R programming
Accelerate your transition from R hacker to R programmer

356 pages, Kindle Edition

First published December 8, 2016

16 people are currently reading
76 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
14 (24%)
4 stars
26 (45%)
3 stars
12 (21%)
2 stars
5 (8%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
Profile Image for Vysloczil.
118 reviews72 followers
May 28, 2020
Somewhere between Advanced R, R4DS, and the Art of R Programming (did I forget another?) I believe this deserves a spot on the bookshelf of a regular R user. Or, as the price tag is quite heavy, at least a bookmark of the free ebook version, which is regularly updated it seems: https://csgillespie.github.io/efficie....
Outside of R the book gives structural tips on programming in general (structure, style, version control, etc.) and also gives advice and hardware and the respective bottlenecks to keep in mind.
Profile Image for Lilli.
20 reviews1 follower
December 2, 2018
Really useful and important read for R programmers.
14 reviews
June 22, 2021
Great book, very helpful!
Makes me thinking more not only the code to run, but how to make it efficiently running.
Profile Image for José.
234 reviews
October 24, 2016
Saving time is very important in (big) data science and Colin Gillespie makes a fair point in refering it throughout the book.

Luckily, the book is not only the representation of the author to identify this recurring problem, it is also filled with suggestions on how to speed up your coming across different steps - from the actual typing of the keys to the optimization, featuring two very interesting chapters on sharing your code and making it available and on how to correctly (and effectively) learn how to use different and search for new packages and functions.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.