I asked for a solution before, but apparently could not be helped as renjin is rather experimental still...but maybe someone could please translate the error message I get into plain English?
Maybe I can then determine if I can reasonable hope to solve this problem in a reasonable time or if I should rather abandon renjin.
Here is the message:
Exception in thread "AWT-EventQueue-0" org.renjin.eval.EvalException: object 'C_hclust' not found
Here is the code:
private void cluster() {
try {
this.engine.eval("dis<-dist(myMatrix, \"binary\")");
} catch (ScriptException ex) {System.out.println(1);
Logger.getLogger(RWorker.class.getName()).log(Level.SEVERE, null, ex);
}
try {
this.engine.eval("clus<-hclust(dis)");
} catch (ScriptException ex) {System.out.println(3);
Logger.getLogger(RWorker.class.getName()).log(Level.SEVERE, null, ex);
}
try {
this.engine.eval("plot(clus)");
} catch (ScriptException ex) {System.out.println(4);
Logger.getLogger(RWorker.class.getName()).log(Level.SEVERE, null, ex);
}
}
I did not get any of the prints, however.
I wrote a letter to their mailing list - turns out it is really a bug on their part which will hopefully be fixed soon.