From 848f07543cab208ec8114b0b318627792082f90b Mon Sep 17 00:00:00 2001 From: Cecil Singh <54638818+Cecilsingh@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:36:21 +1000 Subject: [PATCH] Update parallelsForLoop.R --- parallelCompute/parallelsForLoop.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallelCompute/parallelsForLoop.R b/parallelCompute/parallelsForLoop.R index c4a8368..66a0b72 100644 --- a/parallelCompute/parallelsForLoop.R +++ b/parallelCompute/parallelsForLoop.R @@ -16,7 +16,7 @@ createForLoop <- function(i){ ###Capture Results### #Non-parallel code execution -#lapply iterates over the while loop +#lapply iterates over the FOR loop #Runs the createLoop function above 1000 times system.time(nonParallelFunc <- lapply(1:10000, createForLoop))