Open ygidtu opened 5 years ago
"ncores = 1" is working on windows, is it ok?
"ncores = 1" is working on windows, is it ok?
I didn't test on a Windows version of R, I just very positive this is due to conda R. And the conda R is not regular version of R, it's microsoft enhanced distribution of R (MRAN: https://mran.microsoft.com/open). So I guess this is the reason
When I try to use scImpute, the
ncores
is useless. It will use all the CPU resources automatically.As far as I know, Windows system has different parallel mechanism with Unix-based system like: Linux and OSX. Therefore the doParallel package design different usages for Windows and Unix. (Please see: https://stackoverflow.com/questions/45819337/option-cores-from-package-doparallel-useless-on-windows).
And the point is the R installed by conda is a Windows edition. So I compared the difference between system default R (3.5.2; Ubuntu 16.04) and conda installed R (3.5.1; Platform x86_64-conda_cos6-linux-gnu).
So can you check how to avoid this issue?