I'm encountering a strange scenario where lapply succeeds but pblapply hangs with a mysterious Selection: message. Strangely this also occurs on only a very small subset of my data (50:60, but but lapply and pblapply work on other slices of the data).
Regular lapply works fine
lapply(cleaned[50:60], FUN = function(x) tsFeatures(x$x))
pblapply hangs
cl <- makeForkCluster(8)
features <- rbindlist(pblapply(X = cleaned[50:60], FUN = function(x) tsFeatures(x$x), cl = cl))
| | 0 % ~calculating Selection:
tsFeatures() is complex function that I wrote that contains many package dependencies, and cleaned is similarly somewhat complex list, so apologies that I can't post on github a minimal reproducible example. I might be able to send these in a .RData file if you like.
I'm encountering a strange scenario where
lapplysucceeds butpblapplyhangs with a mysteriousSelection:message. Strangely this also occurs on only a very small subset of my data (50:60, but butlapplyandpblapplywork on other slices of the data).Regular
lapplyworks finepblapply hangs
tsFeatures()is complex function that I wrote that contains many package dependencies, andcleanedis similarly somewhat complex list, so apologies that I can't post on github a minimal reproducible example. I might be able to send these in a.RDatafile if you like.