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 audio 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. Just so you know, no audio is attached to these screencast videos. They were originally recorded as GIFs, but were then converted to videos hosted on YouTube. Please watch them multiple times if you need to as you read through the text.

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 4.1 or higher, RStudio Desktop version 2024.04.0 or higher, and rmarkdown R package version 2.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 on Tuesday, October 29, 2024 14:18:45 UTC.