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]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.