Closed clebersfluz closed 9 years ago
Just replied by email, not realizing it was via GitHub.
The call to detectCores is in gbmCluster. I just edited it to parallel::detectCores. I haven't done any testing.
An alternative is to provide n.cores so that detectCores never gets called
Good morning.
I am phd student at university of São Paulo in Brazil.
I am running the algorithms of the biomod2 in parallel, but the execution of the GBM algorithm is presenting failed.
I am using the package "Snowfall" to run the algorithms of the biomod2 in parallel, but a execution of the algorithm GBM presenting failed.
This code:
The model.sp presentig this message:
<simpleError in x[i]: object of type 'closure' is not subsettable
Error in gbmCluster(n.cores) : could not find function \"detectCores\"\n" attr(,"class") [1] "try-error" attr(,"condition") <simpleError in gbmCluster(n.cores): could not find function "detectCores">
I don't know what.
Do you help me?
Thank you