<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lang.r.rosuda.devel">
    <title>gmane.comp.lang.r.rosuda.devel</title>
    <link>http://blog.gmane.org/gmane.comp.lang.r.rosuda.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1538"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1534"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1531"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1528"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1526"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1522"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1520"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1519"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1516"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1515"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1514"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1512"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1508"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1503"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1487"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1485"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1482"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1480"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1478"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1476"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1538">
    <title>Possible bug in REXPDouble.NA?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1538</link>
    <description>&lt;pre&gt;Hi there,

The value of REXPDouble.NA seems to be NaN, while in REXPInteger and REXPLogical has a specific value. Is that correct, or it can be considered as a bug?

System.out.println("Double NA: " + REXPDouble.NA);
System.out.println("Integer NA: " + REXPInteger.NA);
System.out.println("Logical NA: " + REXPLogical.NA);

Double NA: NaN
Integer NA: -2147483648
Logical NA: -128

Cheers,

Víctor

&lt;/pre&gt;</description>
    <dc:creator>Víctor Pascual Cid</dc:creator>
    <dc:date>2012-05-06T15:09:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1534">
    <title>Unable to run Rserve -dbg version</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1534</link>
    <description>&lt;pre&gt;
Hello,

I am having some trouble trying to run Rserve-dbg.so on Mac OS 10.6.

I am using:

alias Rservedbg="R CMD  
/Library/Frameworks/R.framework/Versions/Current/Resources/library/Rserve/libs/x86_64/Rserve-dbg.so"

Now:

Suresh-iMac:~ suresh$ Rservedbg
WARNING: ignoring environment value of R_HOME
Rserve 0.6-8 (338) (C)Copyright 2002-2011 Simon Urbanek
$Id: Rserv.c 338 2012-02-11 20:52:25Z urbanek $

Loading config file /etc/Rserv.conf
Failed to find config file /etc/Rserv.conf

R version 2.15.0 (2012-03-30)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

   Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Rserve: Ok, ready to answer queries.

&amp;lt;... and here the Terminal hangs, I do not get the prompt back ...&amp;gt;

Hope there is an easy solution ?

Thanks, Suresh

&lt;/pre&gt;</description>
    <dc:creator>Suresh Krishna</dc:creator>
    <dc:date>2012-04-24T15:44:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1531">
    <title>iplots : Moving points</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1531</link>
    <description>&lt;pre&gt;Dear Rosuda group,

I am trying to develop an interactive clustering tool for which I require a
graphics system that allows one to move points interactively. (That is, the
user can brush one or more points, and then when the mouse is dragged, the
points move along). GGobi has a nice implementation of this, but that
system does not really provide me with all that I need (especially
close Rintegration). Therefore I would like to work with
iplots and add this feature.

I've gone through the source of iplots (at least the R side of things) and
I see the function ivar.update. This would do quite nicely for me, but I've
not been able to work out how to make iplots recognize a mouse drag event.
(I'm guessing this needs the java side?) I would appreciate any and all
help in this regard, and am ready to code the required parts myself.

Best,
Mohit Dayal
Researcher
Applied Statistics and Computing Lab
Indian School of Business
Hyderabad, India
www.isb.edu
&lt;/pre&gt;</description>
    <dc:creator>Mohit Dayal</dc:creator>
    <dc:date>2012-03-31T11:19:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1528">
    <title>Rserve server problems</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1528</link>
    <description>&lt;pre&gt;Hi!

We are trying to use Rserve at work. I am using Rserve 0.6.1 on a Debian
VirtualBox virtual machine as guest and a Windows 7 as host. I want to
access Rserve through a little Java program as a test whether the port
forwarding from localhost port 6311 to debian guest OS works (so Rserve can
be accessed from the network). I checked whether the server is accepting
connections via `telnet localhost 6311' from the debian guest - and it
does. I then tried to connect from the Windows OS via this small Java
program:

import org.rosuda.REngine.*;
import org.rosuda.REngine.Rserve.*;

public class Rserve_test {
    public static void main(String[] args) {
        try {
            System.out.println("test");
            RConnection c = new RConnection("localhost", 6311);
            REXP x = c.eval("R.version.string");
            System.out.println(x.asString());
        } catch (Exception ex) {
        ex.printStackTrace();
        }
    }
}

This fails with the backtrace:

org.rosuda.REngine.Rserve.RserveException: Handshake failed: expected 32
bytes header, got -1
    at org.rosuda.REngine.Rserve.RConnection.&amp;lt;init&amp;gt;(RConnection.java:107)
    at org.rosuda.REngine.Rserve.RConnection.&amp;lt;init&amp;gt;(RConnection.java:60)
    at
at.ac.ait.fabianleimgruber.javar.Rserve_test.main(Rserve_test.java:10)

I found a thread reporting similar behaviour here
http://stackoverflow.com/questions/8925000/rserve-exception-handshake-failedthat

I turned on debugging Rserve via Rserve(TRUE) on the debian machine and get
the following messages:

Rserve: Ok, ready to answer queries.
connection accepted.
sending ID string.
malformed packet (n=5). closing socket to prevent garbage.
DUMP [5]: ff f4 ff fd 06
OUT.sendResp(void data)
DUMP [16]: 02 00 01 42 00 00 00 00 00 00 00 00 00 00 00 00
done.

Am I doing something wrong/missing something? Help is greatly appreciated.

Thanks and Best Regards,
Michael Bach
&lt;/pre&gt;</description>
    <dc:creator>Michael Bach</dc:creator>
    <dc:date>2012-03-28T11:42:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1526">
    <title>How to use  Rengine</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1526</link>
    <description>&lt;pre&gt;Dear sir;
Although the re operate with the following sample programs
the re2 does not operate but it becomes fatal error.
Please let me know whether what I should do.


import org.rosuda.JRI.REXP;
import org.rosuda.JRI.Rengine;
public class Rsample
{
    public static void main(String[] args)
    {

          Rengine re = new Rengine (new String[]{"--no-save"}, false, null);
        re.assign("a", new int[]{36});
        REXP result = re.eval("sqrt(a)");
        System.out.println(result.asDouble());
        re.end();

                  Rengine re2 = new Rengine (new String[]{"--no-save"}, 
false, null);
        re2.assign("b", new int[]{36});
        REXP result2 = re2.eval("sqrt(b)");
        System.out.println(result2.asDouble());
        re2.end();

}
}

error message
run:
6.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (0xc0000029), pid=6332, tid=11692
#
# JRE version: 7.0_02-b13
# Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode, sharing 
windows-x86 )
# Problematic frame:
# C  [ntdll.dll+0x90572]
#
# Failed to write core dump. Minidumps are not enabled by default on client 
versions of Windows
#
# An error report file with more information is saved as:
# C:\NetBeans\Rsample\hs_err_pid6332.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Java Result: 1

Best Regards,

I.Andoh
&lt;/pre&gt;</description>
    <dc:creator>I.Andoh</dc:creator>
    <dc:date>2012-03-23T14:20:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1522">
    <title>Why JGR looks so different?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1522</link>
    <description>&lt;pre&gt;When I start JGR as a normal user, it looks like here:
http://farm7.staticflickr.com/6233/7000076003_8384b0662c_m.jpg.
When I start JGR with 'sudo' (as root), it looks like here:
http://farm8.staticflickr.com/7069/6853951548_c8964a08d5_m.jpg.
Why? From my point of view the second option is more clear (and
pleasant), but this is not a reason to run JGR everytime as a root.
Can I change this?

Regards,
Iurie Malai

How to install GNU R, JGR and Deducer in Ubuntu
https://sites.google.com/site/iuriemalai/en/how-to-install-gnu-r-jgr-and-deducer-in-ubuntu

_______________________________________________
stats-rosuda-devel mailing list
stats-rosuda-devel&amp;lt; at &amp;gt;listserv.uni-augsburg.de
http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel
&lt;/pre&gt;</description>
    <dc:creator>Iurie Malai</dc:creator>
    <dc:date>2012-03-20T15:00:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1520">
    <title>Rengine kill</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1520</link>
    <description>&lt;pre&gt;Hello

I don’t kill Rengine.
I run next proguram but can’t  execute  “re.end();”.

How to kill the progran.

package jrtest;

import org.rosuda.JRI.REXP;
import org.rosuda.JRI.Rengine;

public class  JRtest {
public static void main(String[] args) {
      if (!Rengine.versionCheck()) {
        System.err.println("** Version mismatch - Java files don't match 
library version.");
        System.exit(1);
    }
    //start
     Rengine re = new Rengine (new String[]{"--no-save"}, false, null);

   double fluct[]={
         -1.510061151, -1.483533210 ,-2.454857885 
,-1.582381336, -2.189866550
, -1.259217396 , 0.122006351 ,-0.680441673 , 0.148050467 ,-0.424794143
, -0.606838795, -0.799486016 ,-0.184970425 , 0.666686479 ,-0.377533334
, -1.320383326, -0.756885509, -0.438778336 ,-1.031146806 , 0.191056368
, -1.154535333 ,-0.132690188 , 0.513218124  ,0.988845215 , 1.649814052
,  0.927037224 , 0.627193855 , 1.149564715 , 0.284609312 ,-0.054383389
, -0.645675322, -0.512513869 ,-0.443688139 , 0.148951284, -0.480104506
, 0.401391522 ,-0.007915557,  0.723504732 , 0.191544878, -0.544863121
,-0.055942539,  0.278057151,  1.922562703,  0.909566946 , 1.774394361
,  1.937790900,  0.921274700 , 1.278086288 , 1.063823536 , 1.014685088
,  0.384750044 , 0.898532960 , 0.436981014, -0.022530751 , 0.453789274
, -0.583885884 ,-1.115714711, -1.475849203 , 0.612645212,  1.711053651 };
     re.eval("library(\"fractal\")");
re.assign("fluct",fluct);
REXP result3 = re.eval("RoverS(fluct)}
System.out.println("Ros="+result3);
re.end();


Best Regard

I.Andoh 
&lt;/pre&gt;</description>
    <dc:creator>I.Andoh</dc:creator>
    <dc:date>2012-03-18T23:11:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1519">
    <title>How to kill/close JGR window from R concole?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1519</link>
    <description>&lt;pre&gt;Is this possible to kill JGR Console from R (in terminal)?
(I know how to close JGR from his own menu).

Regards,
Iurie
&lt;/pre&gt;</description>
    <dc:creator>Iurie Malai</dc:creator>
    <dc:date>2012-03-07T18:38:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1516">
    <title>Setting JGR as default R editor on Windows</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1516</link>
    <description>&lt;pre&gt;Hi All,

I'd like to set JGR's program editor to be my default for R programs on my Windows 7 system. I tried right-clicking on an R script and changing its "open with" property to JGR.exe. Now when I double-click on a file with a ".R" extension, JGR starts, but it does not open the file into its program editor. If I follow the exact same steps to return to RSTudio, it works just fine. Is there a setting I'm missing?

Thanks,
Bob

=========================================================
  Bob Muenchen (pronounced Min'-chen), Manager  
  Research Computing Support
  Voice: (865) 974-5230  
  Email: muenchen&amp;lt; at &amp;gt;utk.edu
  Web:   http://oit.utk.edu/research, 
  News:  http://oit.utk.edu/research/news.php
========================================================




&lt;/pre&gt;</description>
    <dc:creator>Muenchen, Robert A (Bob</dc:creator>
    <dc:date>2012-02-28T13:40:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1515">
    <title>Kafka consumer java client in R</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1515</link>
    <description>&lt;pre&gt;I am looking to bring the Kafka consumer in R.
Kafka is a messaging system and produces-consumes events which are
encoded as Binary Avro format. In trying to consume these messages in
real time, many clients are available but none in R.

A pure R solution may not be viable, and I wanted to try my hands at
integrating the Java consumer client in R since the rJava package
makes it possible.

In doing so, I have to admit my limited Java programming skills and
not a very in-depth understanding of R internals and seek
advice/suggestions from expert users and developers on this list.

A few links to add more context to this goal;

Apache Kafka : http://incubator.apache.org/kafka/
Kafka Clients : https://github.com/apache/kafka/tree/trunk/clients
Related SO question :
http://stackoverflow.com/questions/9432045/kafka-consumer-in-r

I have looked at the tutorial
http://cran.r-project.org/web/packages/helloJavaWorld/vignettes/helloJavaWorld.pdf
and could understand at a very high-level what rJava facilitates.

Any suggestions/hints in this regard will be greatly appreciated.

Regards,
Harsh





&lt;/pre&gt;</description>
    <dc:creator>Harsh</dc:creator>
    <dc:date>2012-02-27T13:26:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1514">
    <title>Regarding problem of connecting to Rserve</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1514</link>
    <description>&lt;pre&gt;Dear Simon,
We are using Rserve to perform computations for enrichment analysis in  
R and using bioconductor. Our server is linux. We are trying to  
dispaly the results on the web after performing necessary actions on  
the server which is linux. While performing the computations first  
time we are getting the result, but at the next instance we get an  
error (Null point exception error).

When we do this

FIX:
===
stopping the processes

sudo kill 7335
sudo kill -9 19371

and restarting RServe

it works and again it breaks

we think

non-functional instance of Rserve was already running (?)

7335 ?        Ss
0:04 /usr/local/lib/R/site-library/
Rserve/libs//Rserve-bin.so
19371 ?
S      0:00 /usr/local/lib/R/site-library/Rserve/libs//Rserve-bin.so
19500 pts/5    S+     0:00 grep Rserve

It would be of great help if you can please let us a solution for this  
problem. We are new in using Rserve. We like to know from where the  
possible error is occuring. Thanks for you help in advance

Regards,
Ravi


Here is my code
package de.goa;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;

import org.rosuda.REngine.REXP;
import org.rosuda.REngine.RList;
import org.rosuda.REngine.Rserve.RConnection;
import org.rosuda.REngine.Rserve.RserveException;

import de.rserve.StartRserve;

public class ComputeGOEnrichment {
     public Vector names = null;
     private String rInstallPath, genes, category, ingenes;
     public ComputeGOEnrichment(String rInstallPath, String genes,
             String category) {
         this.category=category;
         this.rInstallPath=rInstallPath;
         this.genes=genes;
     }

     public Vector getNames() {
         return names;
     }

     public void setNames(Vector names) {
         this.names = names;
     }

     public List&amp;lt;FEAObject&amp;gt; computeGO(){
         StartRserve sr = new StartRserve();
         sr.checkLocalRserve(rInstallPath);
         RConnection c;
         String[][] s = null;
         List &amp;lt;FEAObject&amp;gt; annoList = null;
         try {
             c = new RConnection();

             REXP x = c.eval("R.version.string");
             System.out.println(x.asString());
             double[] d= c.eval("rnorm(100)").asDoubles();
             StringBuffer code=new StringBuffer();

             code.append("rm(list=ls());");
             code.append("library(Biobase);");
             code.append("library(Category);");
             code.append("library(org.Hs.eg.db);");
             code.append("library(GOstats);");


             code.append("genes &amp;lt;-c("+ genes +");");
             code.append("allGenes &amp;lt;-  Lkeys(org.Hs.egGO);");
             code.append("paramsGO &amp;lt;- new('GOHyperGParams', geneIds = genes,"+
                      " universeGeneIds = allGenes, annotation =  
'org.Hs.eg.db',"+
                      " ontology ='MF' ,testDirection='over');");
             code.append("hyp &amp;lt;- hyperGTest(paramsGO);");
             code.append("t &amp;lt;- summary(hyp,pvalue=1);");
             code.append("mf &amp;lt;-  
data.frame(t[,1:2],FDR=p.adjust(t[,2],method='fdr'),t[,3:7]);");
             code.append("mf &amp;lt;- mf[mf$FDR &amp;lt; 0.25 &amp;amp; mf$Count &amp;gt; 1,];");
             code.append("goMaps  
&amp;lt;-lapply(mf[,1],function(x)unlist(mget(x,org.Hs.egGO2ALLEGS)));");

             code.append("goselected  
&amp;lt;-lapply(goMaps,function(x)genes[genes %in% x]);");

             code.append("mf1 &amp;lt;-cbind(mf,  
ingenes=unlist(lapply(goselected, function(x)  
paste(x,collapse=';'))));");
//            code.append("mf &amp;lt;- data.frame(t=seq(1:10), b=c(11:20));");
//            code.append("mf_up &amp;lt;- mf[1,1];");


             RList l = c.eval(code.toString()).asList();
             int cols = l.size();
             int rows = l.at(0).length();
             s = new String[cols][rows];
             for (int i=0; i&amp;lt;cols; i++){
                 s[i]=l.at(i).asStrings();
                 System.out.println("PASSED");
             }
             this.setNames(l.names);
             for(int i=0; i&amp;lt;names.size();i++){
                 System.out.print(names.get(i)+"\t");
             }
             System.out.print("\n");
             annoList = new ArrayList&amp;lt;FEAObject&amp;gt;();
             for (int k = 0; k &amp;lt; s[0].length; k++) {
                 FEAObject goa = new FEAObject();
                 for (int z = 0; z &amp;lt; s.length; z++) {
                     if(z==0)goa.setGoid(s[z][k]);
                     if(z==1)goa.setPval(s[z][k]);
                     //if(z==2)goa.setFdr(s[z][k]);
                     //if(z==3)goa.setOddratio(s[z][k]);
                     //if(z==4)goa.setExpCount(s[z][k]);
                     if(z==5)goa.setCount(s[z][k]);
                     //if(z==6)goa.setSize(s[z][k]);
                     if(z==7)goa.setTerm(s[z][k]);
                     if(z==8)goa.setIngenes(s[z][k]);
                     System.out.print(s[z][k] + "\t");
                 }
                 annoList.add(goa);
                 System.out.println();
             }

             c.shutdown();
         } catch (Exception e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         }

         return annoList;
     }

     public static void main (String[]args){
         String genes = "'51399', '1400', '3064', '1401',  
'5140','9712','9715','9716','9717','9718','9719','972',  
'9720','9721','9722','9723',  
'9767','9768','977','9770','9771','9772','9774','9775','9776','9777','9778'";
         String rInstallPath = "C:/ravi/R-2.10.1/";
             //usr/local/lib/R/site-library/Rserve";         
//J:/Program Files/R-2.10.1";
         String category = "BP";
         ComputeGOEnrichment rj = new  
ComputeGOEnrichment(rInstallPath, genes, category);
         rj.computeGO();
     }

}

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


&lt;/pre&gt;</description>
    <dc:creator>rkkalathur&lt; at &gt;ualg.pt</dc:creator>
    <dc:date>2012-02-26T21:07:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1512">
    <title>Warnings when installing JGR</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1512</link>
    <description>&lt;pre&gt;I have installed JGR in Ubuntu 10.04.4 and it works, but I received a list
of 14 warnings:

There were 14 warnings (use warnings() to see them)

This is the clean list of packages with non-zero exit status:
latentnet, rgdal, rgeos, rgl, Rmpi, RODBC, rpvm, rsprng, shapes, statnet,
tikzDevice, tkrplot, VIM, XML

I reinstalled (without uninstalling) repeatedly JGR with the command
'install.packages('JGR', dep=TRUE)', no packages were installed but one
(JGR_1.7-9.tar.gz) and these warnings do not apeared again. Is this normal?
&lt;/pre&gt;</description>
    <dc:creator>Iurie Malai</dc:creator>
    <dc:date>2012-02-26T10:18:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1508">
    <title>rserve - java heap space issue when runningcorrelation function</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1508</link>
    <description>&lt;pre&gt;Hello,

I'm trying to run the R's correlation (cor) function via rserve.

Here's my java code:
RList l = new RList();
for (String id : namedVectorList.keySet()) {
  Double[] values = namedVectorList.get(id);
  double[] valuePrimitiveArray = ArrayUtils.toPrimitive((Double[]) values);
   l.put(id, new REXPDouble(valuePrimitiveArray));
}
rConn.assign("corDataFrame", REXP.createDataFrame(l));
corrMatrix = rConn.eval("cor(corDataFrame)").asDoubleMatrix();

When I run this on small amounts of data, it works fine.   But, on this
larger amount of data  (15,000 objects added to RList, and each has 200
Double values in each of the Double arrays), I run into the following issue:

Caused by: java.lang.OutOfMemoryError: Java heap space
at org.rosuda.REngine.Rserve.protocol.RTalk.request(RTalk.java:218)
at org.rosuda.REngine.Rserve.protocol.RTalk.request(RTalk.java:180)
at org.rosuda.REngine.Rserve.protocol.RTalk.request(RTalk.java:250)
at org.rosuda.REngine.Rserve.RConnection.eval(RConnection.java:231)

In the Rserve.conf directory, I tried increaseing the allocated memory by
setting the following memory parameters:
maxinbuf 20000000
maxsendbuf 20000000

but that didn't help.  Any ideas?

thanks in advance!

Anish
&lt;/pre&gt;</description>
    <dc:creator>Anish Kejariwal</dc:creator>
    <dc:date>2012-02-17T23:47:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1503">
    <title>Problems generating a data frame from a tablewith blank cells</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1503</link>
    <description>&lt;pre&gt;Hi all,

I've built my own system that uses Rserve to map my Java objects into R variables. Nevertheless, I'm having issues when dealing with tables that contain blank cells.
Here is an example:

"","",""
"aaa","bbb","ccc"
1,2,3
1,2,3

The content of the previous table (encoded as csv) is actually a java ArrayList filled with ArrayLists that gets converted into a RList filled with three RLists, each one containing two REXPStrings and two REXPIntegers.
When trying to run the following code Rserve fails with a "java.lang.ArrayIndexOutOfBoundsException: 0" (it does not even throw a RServerException).

REXP rexp = REXP.createDataFrame(rList);
myRConnection.assign(rexp),

Nevertheless, if I internally replace blank cells with "_", everything seems to work.

How can I create data frames with blank cells?

Cheers,

Víctor


&lt;/pre&gt;</description>
    <dc:creator>Víctor Pascual Cid</dc:creator>
    <dc:date>2012-02-13T17:01:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1487">
    <title>How to start JGR as a full sized window?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1487</link>
    <description>&lt;pre&gt;I want to start JGR as a full sized/maximized window automatically, but how
to do this? For other applications I can add option "--geometry 1440x900"
to the launch command, but for JGR this do not work. Sugestions?
&lt;/pre&gt;</description>
    <dc:creator>Iurie Malai</dc:creator>
    <dc:date>2012-02-09T05:29:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1485">
    <title>Unable to recover column names from a matrix</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1485</link>
    <description>&lt;pre&gt;I think I've found a bug related to the recovery of column names in matrices.

The following R command generates a matrix with two name columns: b&amp;lt;- as.matrix(data.frame(a=c(1, 2), b=c(1,2)))
Nevertheless, instead of returning a Map with the names and values, RConnection.eval returns a REXPDouble that makes impossible to get the names of the columns.

Hope that helps to improve the package,

Víctor


&lt;/pre&gt;</description>
    <dc:creator>Víctor Pascual Cid</dc:creator>
    <dc:date>2012-02-08T16:19:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1482">
    <title>Questions about JGR's program editor</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1482</link>
    <description>&lt;pre&gt;Hi All,

I'm having several problems with JGR on Windows 7. First, when I open a file that is several layers down in the directory structure, then I need to open another file that's in a higher level, the folder with the green upward-pointing arrow at the top of the Open dialog will not move the Open dialog upward through the directory structure. However, if I use the "Look in:" box to move one level upward in the directory structure, then the green upward-pointing arrow will start to work and I can move as many layers up as I like. Each time the Open dialog is used, it reverts to blocking upward movement. Is this a bug or can I change a setting somewhere to get it to go upward?

Second, the mouse selection speed is way too fast toward the top or bottom of the program editor. If I'm near the center of the editor window, it's easy to select a few lines of code. But if I'm at the top or bottom of the window, as soon as I pass the 2nd or 3rd line, the selection blasts into high gear and I end up having selected a whole page of code. Often by then the code I need is no longer even on the screen. So I have to first move the code to the center of the editor, then select it. That's a much slower way to work. Is there a way to adjust the selection speed?

Third, when typing a partial line such as "mean(x," the Editor Help Agent pops up offering help, which is nice. However, it also locks the line until I type a close parenthesis. Since I often extend function calls across multiple lines, I constantly have to use my mouse to break out by clicking on the next line. Pressing down arrow or the enter key does not move the cursor. I can turn off the help completely, but I wonder is this how it's supposed to work, or do I just not know of an alternative way to break out of the help mode?

The combination of JGR and Deducer is a compelling environment for both programmers and point-and-clickers. Thanks very much for providing these wonderful tools!

Thanks,
Bob 
=========================================================
Bob Muenchen (pronounced Min'-chen), Manager
Research Computing Support
University of Tennessee
Voice: (865) 974-5230
Email: muenchen.bob&amp;lt; at &amp;gt;gmail.com
Web: http://r4stats.com
=========================================================

=========================================================
  Bob Muenchen (pronounced Min'-chen), Manager  
  Research Computing Support
  Voice: (865) 974-5230  
  Email: muenchen&amp;lt; at &amp;gt;utk.edu
  Web:   http://oit.utk.edu/research, 
  News:  http://oit.utk.edu/research/news.php
========================================================




&lt;/pre&gt;</description>
    <dc:creator>Muenchen, Robert A (Bob</dc:creator>
    <dc:date>2012-02-06T16:08:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1480">
    <title>Executing Control commands in Rserve from theR client</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1480</link>
    <description>&lt;pre&gt;Hi all ,


Does anybody have any insight to how control commands might
be implemented from the R client for Rserve? So far I've
tried implementing CMD_ctrlEval command from the QAP1 protocol by altering
the current RSeval code thusly:

RSevalControl &amp;lt;- function(c, expr) {
r &amp;lt;- if (is.character(expr))
serialize(parse(text=paste("{",paste(expr,collapse="\n"),"}"))[[1]],NULL)
else serialize(expr, NULL)
writeBin(c(0x42L, length(r), 0L, 0L), c, endian="little")
writeBin(r, c)

##b &amp;lt;- readBin(c,"int",4,endian="little") # the return lines commented out
because I dont' think the control commands are supposed to return anything
}

Anybody have any pointers on how I could get this working?

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Daniel Chapsky</dc:creator>
    <dc:date>2012-01-27T15:19:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1478">
    <title>iplots bug question</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1478</link>
    <description>&lt;pre&gt;Hello,

I'm running R version 2.14.1 on a 64bit Windows 7 machine.  When I try to
run iplots I get this error message:

Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: fun(libname, pkgname)
  error: JAVA_HOME cannot be determined from the RegistryError:
package ‘rJava’ could not be loaded


I have installed rJava however, there appears to be an error with
rJava similar to that observed in Unix systems.


Do you have any suggestions for a solution.


Thank you,

 John Thompson
&lt;/pre&gt;</description>
    <dc:creator>John Thompson</dc:creator>
    <dc:date>2012-01-26T22:19:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1476">
    <title>R Code With Try Catch Block</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1476</link>
    <description>&lt;pre&gt;Hello,

I have a small example of when using JRI and there is an error in a try catch block, it is not caught within R, but causes problems in Java. I get output of a number of non alphabetic characters.

When I run the same code in standalone R, I get it working fine.

Loading required package: Rsamtools
Loading required package: IRanges

Attaching package: ‘IRanges’

The following object(s) are masked from ‘package:base’:

    cbind, eval, intersect, Map, mapply, order, paste, pmax, pmax.int, pmin, pmin.int, rbind, rep.int, setdiff, table, union

Loading required package: GenomicRanges
Loading required package: Biostrings
Loading required package: RCurl
Loading required package: bitops
[1] "http://genomesavant.com/savant/data/hg19/hg19.refGene.gz"

Whereas, when I'm running the Java program and using JRI to do the same, below is a screenshot of what happens. Stepping through the java code, it's definitely the line rExec.parseAndEval("tmp &amp;lt;- updateURL(x)"); where it happens.

Attached is my Java code and R file that is used by both ways. Am I misusing the API somehow ?

--------------------------------------
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia
&lt;/pre&gt;</description>
    <dc:creator>Dario Strbenac</dc:creator>
    <dc:date>2012-01-24T02:00:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1474">
    <title>A few more bugs in REXP.asNativeJavaObject</title>
    <link>http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1474</link>
    <description>&lt;pre&gt;Hi there,

playing around with the  method REXP.asNativeJavaObject I've found a few things that look like possible bugs:

- "data.frame(1:20) * 4"  returns a HashMap whose key is the array itself (numbers from 4 to 80) and value is the name of the value. I guess that this is the other way around: they key should be 1.20 and the value the array with the values

- While creating a data frame using REXP.createDataFrame works well, multiplying such data frame by a number returns a REXPGenrericVector with an empty Object[] inside.

That's the code that I'm using to build the data frame
RList rList = new RList();
for (int i = 0; i&amp;lt;numColumns; i++) {
column = (int[])getColumn();
rList.add(REXPWrapper.wrap(column));
}

Hope that feedback is helpful.

Víctor


&lt;/pre&gt;</description>
    <dc:creator>Víctor Pascual Cid</dc:creator>
    <dc:date>2012-01-19T17:31:17</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.r.rosuda.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.r.rosuda.devel</link>
  </textinput>
</rdf:RDF>

