I work very mutch with the packages RWeka and multicore. If you try to run
J48 or any tree of RWeka with multicore we hava some errors.

Example I:

library(RWeka);
library(multicore);

mclapply(1:100, function(i) {
    J48(Species ~., iris);
});


Output:  "Error in .jcall(o, \"Ljava/lang/Class;\", \"getClass\") : \n
java.lang.ClassFormatError: Incompatible magic value 1347093252 in class
file java/lang/ProcessEnvironment$StringEnvironment\n"


Example II:

library(multicore);

mclapply(1:100, function(i) {
    RWeka::J48(Species ~., iris);
});

Output: Erro em .jcall(x$classifier, "S", "toString") :
  RcallMethod: attempt to call a method of a NULL object.


Do you know some way to work with parallel processing and RWeka? I tried
MPI and SNOW without success.

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Ubuntu 12.04 x64


-- 
Luís Paulo Faina Garcia
Engenheiro de Computação - Universidade de São Paulo
São Carlos - SP - Brasil

	[[alternative HTML version deleted]]

