home
I am taking over a script made just to run other scripts. The code used to do so is the following :...
This question already has an answer here: What are 'user' and...
I have recently inherited a legacy R script that at some point trains a gradient boost model with a...
I'm trying to run a simulation with parameter values drawn from different distributions for many...
I am running a large loop in parallel to do regression. The loop was working fine and everything...
First some data. Make a dataframe for covariates and my outcome of interest for regression and one...
I'm trying to figure out the progress bar when using dopar. From reading it seems that if I use...
4 weeks ago

Optimize dopar R

I want to loop over 116 groups (i) to do the follow: r<- foreach(i=unique(Error$scidx),.combine...
I'm having an issue on R6 classes when used with foreach() together, possibly to do with...
When I use caret together with the new recipes package, i.e., caret::train.recipe(), then I receive...
I am trying to create a dataset for some neural network learning purposes. Previously, I have used...
I'm trying to get leave-one-out predicted values. Please help me with this "can't find object"...
EDIT: Reduced the size of the dataset A sample data: df <- data.frame(loc.id = rep(1:10, each...
I work with glarma (generalized autoregressive moving average) time series models in R, provided by...
I have read this post and this post and this post but the solutions there (most notably, using the...
I have a complexe loop for in my script witch take too much time to the end (more than 1 hour). If...
I want to run in parallel a set of functions that I have declared in the clusterEvalQ. Within these...
I am working on a single machine with 8 cores. I want to log the stdout and stderr in a log file...
I am trying to run a function using foreach and %dopar% that will pass its results back into itself...
I am desperate for help on an issue that has caused me headaches for the past month. I am trying to...
I run a loop over elements of list grouped_data_list using foreach and dopar. The runtime is...
I am doing a SVM and want to find the best parameters for cost and gamma. The problem is it takes...
I'm curious what the design argument for doParallel:::doParallelSNOW() giving a warning when...
I'm trying to go through all the rows from a table to apply some functions. Something like: for(i...
I’m running a nested 3 layers foreach loop but unable to prevent the codes from 100% occupying...
I have a problem with Render_site using the dopar of foreach The code works perfectly using simple...
rm(list=ls()) library(doParallel) dyn.load("bar.so") foo <- function(x) { if...
So I am using the R package doParallel to parallelized some steps of my script when I have to...
I have a dataset, containing 8179 papers. I want to calculate the similarity between each pair of...
Create table hp_zzz1 nologging parallel as select * fom hP_zzz; I am using CTAS to create a new...