1 Introduction

This book was written to give people who are new to R, RStudio, and R Markdown the tools they need to begin making their own research reproducible. R is an open-source programming language that has seen its popularity grow tremendously in recent years, with developers adding new functionality via packages on a daily basis. RStudio is a graphical development environment that makes it easier to write and view the results of R code, and R Markdown provides an easy way to produce rich, fully-documented, reproducible analyses.

Screenshots and screencasts (with no audio) are used throughout to illustrate key concepts, but if you need further clarification on these or any other aspect, please create a GitHub issue or email me with a reference to the area where more guidance is necessary. Pull requests on GitHub for typos or improvements are also welcome, and you can easily do so by clicking on the Edit button near Search at the top of the HTML version of the book.

In the HTML version, you can download the book as a PDF by clicking on the PDF button in the toolbar at the top of the page. Given the heavy use of screencasts, HTML is the recommended format for most readers, but the PDF is available for those who need it. Links to the different YouTube videos directly found in the HTML version are provided in the PDF version. You can also download the video files directly. Note that no audio is attached to these screencast videos.

This book will evolve and be updated as needed based on reader feedback. You can see when the book was last updated below.

I strongly recommend that you use R version 3.3.0 or higher, RStudio Desktop version 1.0 or higher, and rmarkdown R package version 1.0 or higher. This will ensure that your setup matches the screenshots and recordings, making it easier to follow along. Additionally, you may find that videos don’t load sometimes. I haven’t had any problems using Google Chrome and recommend that as your browser to view this book if you have trouble with other browsers.

This book was last updated by pkennedy on Wednesday, May 23, 2018 12:50:54 PDT.