Hi, I want to run the R-function ctree (package party) from Java over Rserve with the following Java-Code: try{ RConnection v = new RConnection(); v.voidEval("library(party)"); v.voidEval("try(load(\"C:\\Documents and Settings\\daten2.rda\"))"); v.voidEval("try(pdf(\"C:\\Documents and Settings\\test4.pdf\"))"); v.voidEval("plot (ctree(ZF2~TKL_f+Regio_f+km1000+SF_f+Geschlecht_f+Alter_VN+Random, data=daten2, weights=daten2$Tage, controls=ctree_control(mincriterion=0.95,maxdepth=4,teststat=\"quad\",testtype=\"Bonferroni\")), type=\"simple\")"); //line 6 v.voidEval("dev.off()"); }catch(RserveException e){e.printStackTrace();} I get the error-message "voidEval failed" for the line 6! What can I do? Although I know it`s a Java question I hope somebody can help me. Thanks, Max P.S. RServe is working at a simpler example. -- View this message in context: http://www.nabble.com/ctree-from-Java-via-Rserve-tp22492432p22492432.html Sent from the R help mailing list archive at Nabble.com.