Displaying 1 result from an estimated 1 matches for "trestles_result".
Did you mean:
trestles_results
2013 Feb 01
0
R code parallelized using plyr and doMC: error message: Error in do.ply(i) : task 1 failed - “could not find function ”getClass“”
...cript is of the sort:
|define a bunch of functions
load the data
call libraries
require(doMC)
require(plyr)
registerDoMC(32)
main.function <- function(data){
*thefunction*
}
results= llply(1:500, function(idx){out<-main.function(data)},.parallel=TRUE)
save(results,file="trestles_results")|
This runs fine on my own machine (setting it to run only a few times and
registering only a couple of cores). But when I run it on the cluster,
the output file shows that it ran each of the 500 iterations, but I get
no output file, and I get the following error message:
|Error in do...