Hi
I am using Rserve for R2.3.1.
every time after I load Biobase library, a new Graphics window frame pops up.
Could any onw know how can avoid it.
Best
Saeede
class testReserve {
public static void main(String[] args) {
RServeConnection rsCon = null;
Rconnection c = null;
Process proc = null;
try {
Runtime rt = Runtime.getRuntime();
proc = rt.exec(generalMetaData.rserveDir);
try {
c = new Rconnection();
c._eval("library(grDevices)");
// c._eval("graphics.off()");
c._eval("postscript()");
//load library
c._eval("library(tools)");
System.out.println(" load library tools");
c._eval(" postscript('foo2.ps')");
c._eval(" library(Biobase)");
c._eval("graphics.off()");
System.out.println(" load library Biobase");
}
catch (RSrvException ex1) {
System.out.println(ex1.getMessage());
}
}
catch (Exception e) {
System.out.print("cannot run rserve");
}
//end of testing
}
}
---------------------------------
[[alternative HTML version deleted]]