similar to: Call R function from Java

Displaying 20 results from an estimated 400 matches similar to: "Call R function from Java"

2006 Jul 19
1
ASCII dump from an REXP (JRI)
Hi Simon, Thanks so much for your help. Your advice has been taken to heart. I now pass in blocks of 100,000 records, and it does 100,000 predictions in seconds and returns a logical vector with the predictions to an int array. It works like a charm! I want to reference what we were talking about earlier. Let?s say we evaluate an R expression. Is there a way to just print, verbatim, what R
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
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
2007 Sep 13
3
Someone Using Java/R Interface--- JRI ?
Hi all, I am writing R code and I want to interface with JAVA i.e. I want to call R from JAVA. That's why i have installed JRI on my machine. There is also documentation available in "Javadoc". But as i am very new to JAVA and well as R, I don't understand much of it. If someone is using this package i.e. JRI, please let me know whether i am going in right direction or not.
2008 May 16
2
Getting JRI/rJava to work
Hello All I am trying to get the JRI examples from rJava to work on Windows XP and failing. (And as a more general and connected question is there any review/summary of front-end software for R?) I have installed rJava from the Windows binary supplied. I compile and run the example supplied (rtest.java) and get the results below. I do not think the notes about a deprecated API are a problem. But
2009 Jun 25
2
JRI - problem to access "stats" package
Hello, I am a new R user. More precisely, I am working with JRI (on a Eclipse Java6 project under Ubuntu9). I have difficulties to access some R packages (For example: package "stats", object "Normal", function "pnorm"). I have tried many solutions to set the right path but nothing have succeed: For example:
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
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
2007 Jun 12
1
Trouble making JRI.jar with Ubuntu and Java6
Hi, Forum newb here, looking for some help. Have been trying to install an R-Java interface to make R calls from Java. JRI's configure script runs fine, but when it comes to make, I get the "error: too few arguments to function 'R_ParseVector'" Java runs fine. R runs fine. But I can't get this .jar file created. <grumble> Any help would be appreciated immensely,
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 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
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
2008 Nov 24
1
Issue with running examples
Hi I am receiving this error: java.lang.UnsatisfiedLinkError: C:\Program Files\R\R-2.8.0\library\rJava\jri\jri.dll: Can't find dependent libraries Have done following stuff -R_HOME is set - "C:\Program Files\R\R-2.8.0\bin\"; -also using -Djava.library.path="C:\Program Files\R\R-2.8.0\library\rJava\jri" -Path is set - "C:\Program
2008 Sep 11
2
Problemas con JRI
Hola, me llamo Ángel y estoy haciendo una aplicación en Java que usa funciones ya implementadas en R, siento molestarte para esta tontería, pero es que ya ni paso de la instalación del JRI. A ver si me puedes ayudar, te lo agradecería muchísimo!! A ver, yo leí en la página de JRI que hacen falta las mismas herramientas que para R, MINGc y el conjunto de herramientas de /bin (/bin toolset), vale,
2012 Jun 27
1
rJava Error
Hi, I'm receiving an error when I am trying to install rJava. I have posted the error below. RHive_0.0-6.tar.gz rJava_0.9-3.tar.gz RJDBC_0.2-0.tar.gz Rserve_0.6-8.tar.gz [root at localhost Package]# R CMD INSTALL rJava_0.9-3.tar.gz * installing to library ?/usr/local/lib64/R/library? * installing *source* package ?rJava? ... ** package ?rJava? successfully unpacked and MD5 sums checked
2013 Feb 24
7
Help: rJava ubuntu 12.04
Hola buenas, utlimamente estoy teniendo más problemas con mi equipo de los que debería. Bajo windows no me funciona bien Rstudio y bajo linux soy incapaz de instalar rJava. ¿Alguien que sepa de Linux me podría ayudar? He probado a instalar los openJDK y nada. También he probado, para instalar Java, a hacer un: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update && sudo
2009 Jul 09
4
Compiling R-2.9.1 on Mac OS X 10.4
Hello, I am trying to compile R-2.9.1 on Mac OS-X 10.4 using --enable-R-shlib. I am not comfortable with Mac/Linux environments and trying to follow the instructions from CRAN site to every detail. The Mac OS did not have a gcc (gcc -version did not work). So I did the following: ## For gcc 4.2 and Fortran 4.2.4 Compilers Download gcc-4.2-5566-darwin8-all.tar.gz from
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
2011 Dec 29
1
rJava and JRI
Dear All, I am writing R code and I want to interface with JAVA using netbeans. I want to call R from JAVA. What i should pick?rJAVA or JRI? and can someone provide me step-by-step to installing and code for connecting to R. As i am using path analysis. Is it possible to use? Thank you in advance regards, Permata -- View this message in context:
2010 Oct 06
3
How to run own R functions in JRI
Suppose I have implemented my own R function. How do I call this function in Eclipse using JRI? -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-own-R-functions-in-JRI-tp2965288p2965288.html Sent from the R help mailing list archive at Nabble.com.