I try to write a table which is a processed subset of a global data variable, in a normal for loop this piece of code works fine but when I try to do ...
I try to write a table which is a processed subset of a global data variable, in a normal for loop this piece of code works fine but when I try to do ...
I'm trying to get a simple dopar example working so I can parallelize some very expensive cross validation calculations. When I run the following code ...
I am trying to efficiently code the computation of the KDN complexity measure, which involves a loop over all of the rows of a distance matrix and mak ...
I have a minimum reproducible example script below that writes identical plots to two pdf files, first serially, using a standard for loop, and then i ...
I have a couple of large daily datasets that I need to summarise and bind in R by month. Because the datasets are so large, I'd like to do the summari ...
I am generating several reports via r markdown. If I do them one by one - everything is okay. If I use %do% - also okay. If I use %dopar% - 3 options: ...
I've been struggling to find relevant answers that might help solve the problem, but after hundreds of googling I felt I was out of luck. I'm wonderin ...
I am trying to store the output of a foreach loop in R. The code I use is as follows: So basically I am following the logic of storing the output o ...
I have a selection of tests I want to run in parallel. When I do this using foreach(), I get the expected output of 20 test - iteration pairs: Outp ...
Many are familiar with foreach() to assign a loop across many cores in parallel using %dopar%. However, in R how do you send a single job request for ...
I'm doing a simulation that is repeating some independent calculation for number of samples. I want to make this parallel to speed this up. In each sa ...
I have a function that I need to run on 2000 data frames. Each iteration is taking a very long time i.e almost 40 minutes and hence I'm using the 'for ...
Which R package is the best for parallel computing? I am interested in recommendations focused on processing time/vectorisation/user friendly syntax ...
I try to use DoParallel to speed up the process time of a sequential Monte Carlo simulation. However for some reason I get several errors and I do not ...
I am trying something pretty simple, want to run a bunch of regressions parallelly. When I use the following data generator (PART 1), The parallel par ...
I have a Shiny app that contains a lot of files. I encounter the following error when I hit rsconnect::deplopApp: all files are .RData and they can ...
I am running a parallelized calculation using foreach to work on a lot of time series simultaneously. Among those calculations (within a function call ...
I have never had problems with this before, but I am running into this error when trying to use a foreach loop in R: "Error in { : task 1 failed - "NU ...
I'm facing a problem when I launch this function : When I run it with 1 core, it works. When I go with 2 or more cores, it doesn't enter in my fore ...
I have tried using the parallel package to run a simple parallelization in R on my Windows 10 laptop, but when it gets to the makeCluster function it ...