Dear list,
I installed 1.7 from source from the Cran repo to try out parallel
imputation.
Before 1.7 I did it with foreach
mtfs_i <- foreach(i=1:5,.combine="ameliabind",.inorder=F) %dopar% {
amelia(mtfs,
m = 1,
)
}
and it worked fine.
with 1.7 I tried using multicore using the parallel argument.
mtfs_i <- amelia(mtfs,
m = 1,
parallel = "multicore", # note: this will crash R if tcltk is loaded prior to 2.15.3
ncpus = parallel::detectCores(),
)
Both approaches finish without error, but I get a messed-up S3 object.
So, in approach 1 using foreach ameliabind complains that it didn't get amelia objects.
With approach 2 I get a list of Amelia objects, but the first two items are NULL and I don't get one list $imputations with many imputations, but a stitched-up object.
Using this object with e.g. transform or overimpute fails, but doing the same with the third object in the list works (that's just one imputation then though).
Regards,