[R] Reserve and biobase

From: saeedeh maleki <saeedeh_m_d_at_yahoo.co.uk>
Date: Tue 05 Sep 2006 - 09:01:57 GMT


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]]



R-help@stat.math.ethz.ch 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. Received on Tue Sep 05 19:12:40 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.