parallel computing for glmulti in R in Windows

372 views Asked by At

as per glmulti package document, chunks are arguments for using multi CPUs.

when using exhaustive screening.

But, even when I put 4 in both chunk and chunks and method='h' with family='binomial', R only use a single core.

the function I used

glmulti(y~. ,level=1,data=ctrain,fitfunction = 'glm',chunk = 4, chunks = 4,method = 'h',family='binomial')

demo data set that is similar to mine:- https://archive.ics.uci.edu/ml/machine-learning-databases/00222/bank-additional.zip

PS: any other the package that solve problem is also acceptable.

1

There are 1 answers

3
F. Privé On

If you read the vignette (that you can download there), you see that chunk is determining only one part of the computation.

I think you just need to make calls from a loop with chunk in seq_len(chunks) and combine the results.

You should email the author or open an issue for further information.