I am using java
with Rserve
to generate a phylogenetic tree.
RConnection r=null;
r = new RConnection();
r.eval("library(ape)");
r.eval("dev.new(plot(rtree(10)));dev.off()");
As you can see in the image provided below the code works but the Graphics Device is not responding.
What am I missing to keep the Graphics Device responsive?