similar to: Non-blocking Eval

Displaying 20 results from an estimated 3000 matches similar to: "Non-blocking Eval"

2009 Feb 28
2
Using JRI and Java 1.6 on MAC OS X
Dear R-Help, I am trying to get JRI (the rJava interface allowing Java to connect to R) to work. I was able to run it a week ago when I was doing some testing using Java 1.5. However, I am developing a GUI application using some of the new Java 1.6 features and I just can't get JRI to work with this setup. Here is what I get: Cannot find JRI native library! Please make sure that the JRI
2009 Sep 21
1
R with Java
Hey, I?m a newbie in R and have a big problem. I hope, I?m in the right mailinglist, if not, sorry for this. I want to use R in my Java application and I found out, it should work with JRI. But it doesn?t. I installed it and in the lib-directory of R there is a folder named "JRI". But I have to tell Eclipse that the JRI exist but I don?t know how. I read help-files and so on, but I don?t
2010 Nov 19
1
JRI and error message from R_isMethodsDispatchOn
Dear R users, I have a small project written in Java and need some statical tools. Therefore, I used JRI (in rJava package) as an interface between R and Java to write some wrappers for my work. However, I received error message from R while I have more than one java method which wraps R: Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE = "base") : Incorrect
2007 Nov 20
1
Help with talking to R from Java (on Window)
Hi - I read through RServe page carefully and it turns out that it's not recommended to use RServe on windows. I have different applications that are calling R to do their own things at the same time. So architecture like R(D)COM or RServe is preferred where I can create a dedicated process for a single application. However, if I have to go with R(D)COM from Java, I'd have to find Java
2010 Aug 17
1
DetachedEval Issues
Hello everyone, I have been attempting to make use of the newly implemented detachedEval functionality and I am having a few teething issues. My code works fine when tested with both the Client and the Server on a single machine, but issues arise when I run them separately.Possibly because the local / local connection is running voer a Unix socket rather than tcp proper? Rsession*
2010 Aug 20
1
R and Java
Hi folks, Maybe that is not the best place to ask, but I 'd like some of you could help me... I'm using jri to run R commands under Java, by its examples I can eval expressions, returning single values or vectors to my Java variables. But, I would like to know how to assign the values of a Java vector (like: double x[] = {1.7 , 2.8 , 3.4}; ) to a R variable, so I can eval a function
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.
2009 Oct 28
1
how can i call R program from one java program?
Dear All I want to call the R program from one Java program because In my project R program parameters are set by one web page developed by java. Is this possible to call R program from java? many thanks in advance -- Wesley C Mathew [[alternative HTML version deleted]]
2008 Jun 02
2
Problemas usando jri0.4-1 y R 2.7.0
Hola, es la primera vez que mando un correo a cualquiera de las listas de correo de R y no se si esta consulta se ajusta al próposito de la r-help list o debería haberlo mandado a otra de las listas que hay. Mi problema es el siguiente: Estoy desarrollando un programa en java con llamadas a R y no puedo usar jri 0.4-1 con la version 2.7 o 2.6 de R. Curiosamente si me funciona si uso jri 0.4 o la
2010 Nov 08
2
Rserve alternative?
The Rserve documentation at http://rosuda.org/Rserve/doc.shtml#start states that even when making multiple connections to the Rserve, Windows won't separate workspaces physically and share environments, which will obviously cause problems and should therefore not be used. Are there any alternatives for the windows platform? Ralf
2008 Jan 19
1
a problem when i use JRI package in java
I used JRI package in java to connect R ,and want to use R do some work fo me. but most thing is ok, but there is a problem for me these is some code of the program: re.eval("library(lattice)"); y=re.idleEval("print(1:10)"); y=re.eval("feq <- read.delim('c:/minist.txt',header=T)");
2007 Jun 24
1
JRI and Axis Web Service
Hi all, It is my first time to use the R-help mailing list and doesn't have too much R acknowledge. The reason that I am writing this email is looking for helps of using JRI in Java Axis Web Service. Well, I am not quite sure if this is the right place to ask this kind of questions, but I can't find the JRI mailing list. So please give me some hints if this is not the right place to
2009 Mar 19
4
Import R-output into Java
Hello, I want to import R-output via Rserve to Java, especially for the function ctree from the package party. Rserve is working properly. Yet, I only get the predictions with the Java code try{ RConnection c = new RConnection(); ... c.voidEval("modell <- ctree(...)"); REXP y = c.eval("nodes(modell,1)[[1]]$prediction"); ...
2008 Dec 14
1
Help - java.library.path
Hello all, I`m a computer science student from Frankfurt/main (germany). Our student team (10 students) are working on a R/Interface project (Java and R) and we have a problem with R and JRI. We are working on 10 computers with Windows XP SP2, R 2.8.0, jdk1.6.0_11 and the same classpath setttings but our application works only on two computers. We can't explain us this.
2009 Feb 25
1
How to get JRI to work from my NetBeans
Hi, I need your help. I have downloaded a precompiled JRI as part of rJava. I have included rJava as part of my R package libraries. Now I need to be able to work with some R functions from my Java apps. I'm using NetBeans on Windows. I have followed some instructions from http://www.rforge.net/JRI/ but i keep on getting errors when compiling my Java app as follows: run: Cannot find JRI
2006 Sep 28
2
calling R from within Java, using jri
Hi, I want to call R from within Java, using jri as per http://www.rosuda.org/software/jri/ So I am following the instructions in the README file for JRI 0.2-4. I have run 'sh configure.win' and 'make' and they seemed to be successful. (See below for the output from make, for example.) But when I try 'run.bat rtest' (with and without R command line arguments) the output
2007 Dec 30
1
some questions about startup Rserve
I realize the communication between R and Java with Rserve in my dissertation, but i can not run the Rserve by double click of Rserve.exe, and also i can't realize backstage running of Rserve by technique of Multi-thread in Java. Can anyone tell me why? So, before i run the Java, i must run the R manually, then input "Rserve()" or "system("Rserve")". This
2009 Jun 18
1
R_parseVector and syntax error [was: error messages while parsing with rniParse]
Hello, [I'm redirecting this here from stats-rosuda-devel] When parsing R code through R_parseVector and the code generates an error (syntax error), is there a way to grab the error. It looks like yyerror populates the buffer "R_ParseErrorMsg", but then the variable is not part of the public api. Would it be possible to add yet another entry point to the parser that would
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
2007 Aug 11
1
RServe
Hi all, is there a way to properly terminate Rserve instead of killing the process? I run Rserve in a linux box that serves my Java client.. I have a cronjob that runs Rserve every morning. However, I'm killing it at night manually for the moment. Is there a way, given host/port, I can run an R command to properly terminate it?? Thanks a lot in advance!! - yoooooooo -- View this message in