KosukeHamazaki / RAINBOWR

Reliable Association INference By Optimizing Weights with R (R package for SNP-set GWAS and multi-kernel mixed model)
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1007663
Other
22 stars 6 forks source link

'mc.cores' > 1 is not supported on Windows #7

Open 4li3ce opened 1 year ago

4li3ce commented 1 year ago

I've been trying to use the estNetwork function, but it keeps running into the following error:

Error in parallel::mclapply(X = it, FUN = ml_est_out, y = as.matrix(y), : 'mc.cores' > 1 is not supported on Windows

I saw that this might be due to the fact the it uses the function 'mclapply'- which I can run only on Linux or MAC. I am working on a Windows machine and need to convert this part of the code such that I am able to execute it on a Windows machine as well.

I tried the to add parallel.method in the function, but it says that this is an unusual function in the code.

I appreciate any help. Thanks!