Displaying 20 results from an estimated 700 matches similar to: "Java to R interface"
2008 Jun 09
1
Basic Question on Keys/Values
As a java programmer, I'm having issue conceptualizing the following use
case:
Given an value, passed into a function, how do I pull out the lookup?
Ie.
A list of keys (key1, key2, key3)
A list of values (val1,val2,val3)
I want to write a function (or is there something built in?) such that
Callit <- (thekey) {
(magic happens here)
Return value
}
Any ideas?
Thanks a bunch!
2008 Apr 15
4
Displaying Grahics to the X Window when calling R from command line
Hi,
I am running an R script from the command line by calling:
> R --vanilla < test.R
My terminal is part of the Xwin (Xterm) and there is a plot(1:10)
command in the test.R script.
This will not produce a grahic though. When I start R by calling R then
plotting from the R command in the same xterm, I do get a graphic
display.
How do I create a xwin plot by calling R from the command
2008 Apr 28
3
R on X11 under Linux (newbie)
I just installed R on my 64 bit SUSE Linux system -- I compiled with the default x windows support on..
This may be a newbie question (apologies in advance)-- but how does this show up in X?
I have SSH'd in to my box and set my display -- I can run xcalc OK -- but when I hit the R binary it just goes to the command line -- if does not give me an x-window.
I suspect I need another
2009 Aug 28
2
RODBC: how to set the data-source?
Hello,
I want to try to connect R to PostgreSQL.
I have found that there are three ways:
DBI or RODBC or RPostgreSQL.
I tried around with DBI and RODBC but didn't get it running.
In both cases I'm not clear about how to set the driver/data source.
I get this error:
x > channel <- odbcConnect("rtest", uid="oliver")
x Warning messages:
x 1: In
2008 Jul 02
1
Usage of rJava (.jcall) with Weka functions, any example?
Dear All,
I'd like to use Weka functions that are not implemented (do not have
interface) in RWeka, like the Remove function and others in the
future!
The .java() functionality is for that purpose but I haven't seen any
example with Weka functions. Could anyone give me hand in how to do
it? For instace if I want to use the
weka.filters.unsupervised.attribute.Remove?
1. in the R console,
2008 Jan 22
13
Sparc zfs root/boot status ?
Back in October/November 2007 when I asked about Sparc zfs boot and root capabilities, I got a reply indicating late December 2007 for a possible release.
I was wondering what is the status right now, will this feature make it into build 79?
This message posted from opensolaris.org
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
2010 Mar 24
0
Trying to create R dataframe with JRI
Hi all,
I am writing here because the JRI mailing list seems abandoned...
maybe some of you guys know an answer or has a pointer into the right
direction.
I am quite confused by the jars that exist between rServe, JRI and
rJava. What I want to do is simply using a local R instance from Java
and I thought (and still think) JRI is the way forward. I did the
following steps:
1) Installed
2003 Aug 26
1
dual smb/nmb for interfaces
HI
I'm need to run samba version 2.2.8 and 2 smbd / nnbd processes in a single
machine with two separate smb.conf files . They will runs on individual
interfaces and how can I do that ? Tried all means that I know off , but to
no avail. Please help.
Thanks & rgs
amin
==============================================================================
This message is for the named
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 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
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
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
2011 Mar 04
0
Cannot find JRI native library
Dear All.
I was trying to connect java and R using jri but i have received some
errors. Operating system - windows7, Java version = java 1.6.0_23, R
version = R 2.12.1.
JAVA_HOME and R_HOME variables are set in user variables and system
variables. I have also added JRI .jar path in the system variable.
Could you please suggest any solution?
Cannot find JRI native library!
Please make sure
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.
2008 Jun 03
0
Problems using jri0.4-1 y R 2.7.0
Hello, this is the first time I send a mail to r-help mailing list.
I'm developing a program in java with calls in R and I can`t use jri 0.4-1
with R 2.7 or 2.6 .but it runs with 2.4.
The problem that I get when using the latest version of R is as follows:
Cannot find JRI native library!
Please make sure that the JRI native library is in a directory listed in
java.library.path.
>
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
2007 Jan 31
0
Fwd: Unable to load rJava - Undefined Symbol GetCreatedJavaVMs
Could some pls help with this error message. Pls see below
thanks
Rupak
---------- Forwarded message ----------
From: Rupak Khurana <khurana.rupak@gmail.com>
Date: Jan 31, 2007 2:46 PM
Subject: Unable to load rJava - Undefined Symbol GetCreatedJavaVMs
To: simon.urbanek@r-project.org
Simon
I am unable to load rJava. Pls see the log below. Any help is welcome and
appreciated.
thanks