Skip to main content

Preface

Published

2026-12-01

NoteUpdate

All of the exercises in this book were completed using Pop!_OS and the COSMIC Desktop Environment from System76.

This book contains my solutions to the labs in do4ds, applied to my work as a Posit System Administrator. The original labs are available in the GitHub repo:

https://github.com/alexkgold/do4ds

Why publish a lab solution manual?

Working through the lab solutions in each chapter gave me a better understanding of “DevOps conventions, tools, and practices.”1 It also helped me work better with the IT/Admin team at my organization.

More importantly, this online version of solutions provides examples of what each chapter looks like in my organization. Working through the labs (i.e., getting the code to run in R and Python) and creating diagrams and summaries made the topics more concrete and applicable.

Why not just use LLMs to find the answers?

Large language models (LLMs) aren’t covered in do4ds. ChatGPT’s release at the end of 2022 started a major change in how data science code and projects are developed. The first LLMs weren’t great at writing code, but they have improved significantly.2 By the end of 2025 (about when I started publishing these solutions), the R and Python ecosystems had produced a variety of packages and tools for using LLMs.3

I’ve found Claude helpful for expanding on topics, building mermaid diagrams, and generating ideas for troubleshooting errors. Using LLMs to supplement learning any topic makes the information stick more than just asking for an answer. For example, I’d use the code in each lab as a starting point and develop a solution until I ran into a bug or issue. Then, I’d check my understanding with the LLM and confirm Claude’s responses with source documentation. This iterative process made me recall and use the topics in my daily work as a Posit System Administrator.

I don’t ask for direct solutions to problems or for answers to the comprehension questions. I’ve found this doesn’t stretch my ability to form my own answers (or recall the information later).4


  1. This is a direct quote from the book’s Welcome page.↩︎

  2. Anthropic’s Claude model (released in March 2023) was the first LLM I used that was notably better at answering R and Python coding questions.↩︎

  3. Check out the Posit AI blog or Luis D. Verde Arregoitia’s book, Large Language Model tools for R.↩︎

  4. This is consistent with recent research on using LLMs in educational settings.↩︎