doRedis/foreach GBM parallel processing error in R
问题 I am running a gbm model using the caret package and trying to get it working using parallel processing with the doredis package. I can get the backend workers all up and running, but am having issues when they recombine into the final model. I am getting this error: Error in foreach(j = 1:12, .combine = sum, .multicombine = TRUE) %dopar% : target of assignment expands to non-language object This is my first time trying to run the foreach loop (let alone on a complex problem like gbm) and am