Applied HPC with R

This book is a collection of talks and lectures on how to speed up your R code using parallel computing and other resources like C++.
Author

George G. Vega Yon

Published

September 4, 2025

Preface

Cover image for Applied HPC with R

The R programming language () can be fantastic for most daily tasks. But as soon as you start dealing with more complicated problems, you may face the for-loop bottle-neck. If you ever encounter such a problem, this book is for you. Applied HPC with R is a collection of talks and lectures I have given about speeding up your R code using parallel computing and other resources such as C++. The contents have been primarily developed during my time at USC and UofU.

The book was written using quarto and is hosted on GitHub, where you can access all the source code.

About the Author

I am a Research Assistant Professor at the University of Utah’s Division of Epidemiology, where I work on studying Complex Systems using Statistical Computing. I was born and raised in Chile. I have over ten years of experience developing scientific software focusing on high-performance computing, data visualization, and social network analysis. My training is in Public Policy (M.A. UAI, 2011), Economics (M.Sc. Caltech, 2015), and Biostatistics (Ph.D. USC, 2020).

I obtained my Ph.D. in Biostatistics under the supervision of Prof. Paul Marjoram and Prof. Kayla de la Haye, with my dissertation titled “Essays on Bioinformatics and Social Network Analysis: Statistical and Computational Methods for Complex Systems.

If you’d like to learn more about me, please visit my website at https://ggvy.cl.

Spanish Version Available

A Spanish translation of this book is available at es/. The Spanish version was created using AI translation and may require human review for technical accuracy.

AI Disclosure

Starting in mid-2023, I have been using AI to help me write this book. Mainly, I use a combination of GitHub co-pilot, which aids with code and text. AI’s role has been to help me write faster and more accurately, but it has not been involved in the book’s conceptualization or the development of the methods presented here.

About the cover

The cover image was created using ChatGPT/Dall-E version 5 using the prompt “I need you to draw a picture representing high-performance computing using the R programming language (which is mostly used for statistics). The picture will go as the cover of the book”Applied HPC with R”. It should feature components related to C++, parallel computing, and high-performance computing”


  1. With many to thank, including Paul Marjoram, Zhi Yang, Emil Hvitfeldt, Malcolm Barrett, Garrett Weaver, USC’s IMAGE P01 research group, and my students both at USC and UoU.↩︎