Closed alnf closed 6 years ago
You need to install these two libraries doParallel
and doRNG
.
@davetang would you be so kind to look closely on my sessionInfo() output?
They are not attached. This works for me:
library(netbenchmark)
library(GENIE3)
library(doParallel)
library(doRNG)
GENIE3(t(gnw2000.data[, 1:20]), nCores=4)
@davetang It seems to help me as well, thx. I thought GENIE would load the packages internally. Closing the issue.
Forgive me digging up this old issue, but why should those packages be attached?
Is there any advantage of requiring the user to pollute their global namespace in order to run GENIE3 in parallel?
When using nCores parameter I've encountered problem:
could not find function "%dopar%"
The code is following:
Session info:
Any ideas how to fix that? Thanks.