Boriana P. Pratt - Running simulations in Parallel in R with doParallel package

Опубликовано: 20 Июль 2026
на канале: Lander Analytics
934
23

Running simulations in Parallel in R with doParallel package by Boriana P. Pratt

Visit https://rstats.ai/gov/ to learn more.

Abstract: Simulations are often run to benchmark a method using data where the results are known or to compare a few methods on a nicely structured (simulated) data. Simulating data in R is not hard. If you have to simulate many different datasets, tweaking some parameters, how to automate such a process to run multiple times and maximize the use of computer or server resources. In this talk I will show how I was able to run multiple simulations at the same time using the doParallel package to run a few R threads simultaneously (from within R) to simulated multiple datasets with genetics data under different scenarios.

Bio: Boriana Pratt is a Statistical Programmer at the Office of Population Research at Princeton University. She has a degree in Biostatistics from UC Berkeley, where she worked for a number of years before coming to Princeton. Boriana has been an R user for over 15 years, and has used it mainly for data analyses. When she is not programming, she loves to read or spend time outdoors.

Presented at the 2021 Government & Public Sector R Conference (December 10, 2021)