Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. Prerequisites

    2. Who This Book Is for and How to Use It

    3. What Is Efficiency?

    4. What Is Efficient R Programming?

    5. Why Efficiency?

    6. Cross-Transferable Skills for Efficiency

    7. Benchmarking and Profiling

    8. Book Resources

    9. References

  2. Chapter 2 Efficient Setup

    1. Prerequisites

    2. Top Five Tips for an Efficient R Setup

    3. Operating System

    4. R Version

    5. R Startup

    6. RStudio

    7. BLAS and Alternative R Interpreters

    8. References

  3. Chapter 3 Efficient Programming

    1. Prerequisites

    2. Top Five Tips for Efficient Programming

    3. General Advice

    4. Communicating with the User

    5. Factors

    6. The Apply Family

    7. Caching Variables

    8. The Byte Compiler

    9. References

  4. Chapter 4 Efficient Workflow

    1. Prerequisites

    2. Top Five Tips for Efficient Workflow

    3. A Project Planning Typology

    4. Project Planning and Management

    5. Package Selection

    6. Publication

    7. Reference

  5. Chapter 5 Efficient Input/Output

    1. Prerequisites

    2. Top Five Tips for Efficient Data I/O

    3. Versatile Data Import with rio

    4. Plain-Text Formats

    5. Binary File Formats

    6. Getting Data from the Internet

    7. Accessing Data Stored in Packages

    8. References

  6. Chapter 6 Efficient Data Carpentry

    1. Prerequisites

    2. Top Five Tips for Efficient Data Carpentry

    3. Efficient Data Frames with tibble

    4. Tidying Data with tidyr and Regular Expressions

    5. Efficient Data Processing with dplyr

    6. Combining Datasets

    7. Working with Databases

    8. Data Processing with data.table

    9. References

  7. Chapter 7 Efficient Optimization

    1. Prerequisites

    2. Top Five Tips for Efficient Optimization

    3. Code Profiling

    4. Efficient Base R

    5. Example: Optimizing the move_square() Function

    6. Parallel Computing

    7. Rcpp

    8. References

  8. Chapter 8 Efficient Hardware

    1. Prerequisites

    2. Top Five Tips for Efficient Hardware

    3. Background: What Is a Byte?

    4. Random Access Memory

    5. Hard Drives: HDD Versus SSD

    6. Operating Systems: 32-Bit or 64-Bit

    7. Central Processing Unit

    8. Cloud Computing

  9. Chapter 9 Efficient Collaboration

    1. Prerequisites

    2. Top Five Tips for Efficient Collaboration

    3. Coding Style

    4. Version Control

    5. Code Review

    6. References

  10. Chapter 10 Efficient Learning

    1. Prerequisties

    2. Top Five Tips for Efficient Learning

    3. Using R’s Internal Help

    4. Online Resources

    5. Asking a Question

    6. Learning In Depth

    7. Spread the Knowledge

    8. References

  11. Appendix Package Dependencies

  12. Appendix References