Displaying 10 results from an estimated 10 matches for "jrclient".
2009 Jun 12
0
JRclient.RSrvException Exception: Handshake
Hi all,
first of all: Sorry for my bad englis, and now the Question:
I have some problems with running R from Java. First i tried using rJava (JRI). But the examples didnt work properly.
Now im trying to establish a connection by using Rserve and JRclient (RF503).
I have the following code, which i`ve found:
------------------------------------------------------------------------
public class RTester {
public static void main(String[] args) {
Rconnection c = getLocalRconnection();
if (c != null) {
try {...
2006 Jul 09
0
help on executing JRClient examples
Dear All,
I've installed Rserve and I've met in the bin directory of R and I've runn it and it appears //ready to answer the querie// and i've installed the Jrclient and I've put it on the desktop in the directory Jrclient and i've installed JDK and sur I'have the R language.
Now when I compile the Jrclient exeamples : I've opened the concole commande and I tape : javac c:\....\Jrclient\examples\tt.java,but
an error appreas: package org.rosu...
2008 Jul 02
1
Extracting regression coef. and p-values in JRClient
Hi there,
I am using JRClient to build logistic regression model in the
following manner :
Rconnection c = new Rconnection();
c.eval("KSN<-read.table(\"/Users/amine/Documents/Research/
Tools/R/D2R1.txt\",header=T,sep=\",\")");
c.eval("result <- glm(Nausea ~...
2005 Aug 22
1
Fetching Warning Messages
...g R warning messages in Java Code
using Rserve. It is easier to trap R Error messages by using catching
RSrvException. I came to know one way of fetching R Warning messages, i.e.
using "withCallingHandlers", below is my Java Program, which uses
withCallingHandlers of R :
import org.rosuda.JRclient.*;
---------------------------RWarning.java-----------------------
class RWarning
{
public static void main(String args[])
{
try
{
String hostName = null;
hostName = args[0];
Rconnection c = new Rconnection(hostName);
c.voidEval("lastWarning <- NU...
2009 Mar 26
0
Using JRclient in java application
Hi,
I'm wondering if anyone can help me. I'm writing java application that using
JRclient and Rserve to communicate with R. I want to get response from R for
command:
x <- rbind(matrix(rnorm(100, sd = 0.3), ncol = 2),matrix(rnorm(100, mean =
1, sd = 0.3), ncol = 2))
kmeans(x, 2, 22, algorithm = "Hartigan-Wong")
and put result of kmeans() function in my TextArea.I've t...
2008 Sep 11
0
Help on executing R from java
Hello,
I've installed Rserve and
I've run it.
I've
installed the JRclient-RF503.jar.
I've installed JDK 1.4.2 and R language version 2.7.1.
Now when I compile the Jrclient exeamples from JBUILDER 9? an error appreas: package org.rosuda.JRclient does not exist ...
could you please help me?
Thank you in advance
[[alternative HTML version deleted]]
2007 May 20
0
Problems accessing Rconnect
...rve/example.shtml
I tried to follow the first example but I am getting an error descirbed
below. My IDE looks like this:
http://www.nabble.com/file/p10705244/ide.jpg
However, when I try and compile my java file I get the following error:
Cannot access Rconnection
bad class file: C:\org\rosuda\JRclient\Rconnection.class
class file contains wrong class: org.rosuda.JRclient.Rconnection
Please remove or make sure it appears in the correct subdirectory of the
classpath.
Rconnection c = new Rconnection();
^
I am not quite sure I am doing wrong here... Could someone look at my IDE
tree...
2005 Apr 29
4
Calling R functions from Java
Hey guys,
I got a java gui app which loads up data into a table. How can i use R
to perform statistical functions on the data in the table?
P.S My question is not particularly geared towards Java coding, but
more towards allowing R functionality within Java.
2008 Sep 09
1
passing graph image data from remote Rserve
Hello,
I am using Rserve to create a dedicated computational back-engine. I
generate and pass an array of data to a java application on a separate
server. I was wondering if the same is possible for an image. I believe
that Rserve supports passing certain R objects and JRclient can cast
these objects into their Java counterparts. If I generate a barplot in R
(remotely), can I pass the graph image back to the Java application for
display? Currently, I am reduced to saving the graph as a .pdf locally,
passing the .pdf's filepath to the Java application and allowing the...
2009 May 05
1
self organizing map advice for categorical data
...X
To: Yihui Xie <xieyihui at gmail.com>
Cc: r-help at r-project.org
Message-ID:
<e0bbde350905040658u633adab4pd31e7ce1ef64de5c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hi Yihui,
In trying to make FLEX and R talk, I have decided to approach it by
using the Rserver JRclient as the middle tier in a three tier
approach.
Tier 1: FLEX Visualisation
Tier 2: JRclient (http://rosuda.org/Rserve/example.shtml)
Tier 3: Rserver
I have yet to begin working on this front, but would like to know what
you think about this approach. I understand FLEX and JAVA communicate
seamlessly...