Displaying 20 results from an estimated 200 matches similar to: "unable to source a .R file using RJava"
2005 Jul 27
0
core dump when call t.test via the "RJava --example --gui-none" interface
using ./RJava --example --gui-none to invoke t.test core dumps. The line of R works if I go directly thru R and not RJava.
Version info and code are below. Any help would be appreciated.
--Laura O'Brien
Applications Architect
Version info
------------
Java: jdk1.5.0_03
R: 2.1.1
SJava: 0.68
OS: SunOs 5.8
example code that works
-----------------------
[omegahat->R] mean (c
2003 Mar 03
1
Q: Best-Practice for Swing-GUI calling R-code on Windows?
org.omegahat.R.Java.REvaluator e = new
org.omegahat.R.Java.REvaluator();
Object val = e.eval("objects()");
if(val != null) {
String[] objects = (String[])val;
for(int i = 0 ; i < objects.length; i++)
System.err.println("("+i+") " + objects[i]);
}
hello,
thanks to Philippe Grosjean's work I finally got SJava working (on Windows
XP!!), so that I can
2005 Jul 20
2
unable to call R t-test from Java
Hello,
My colleague and I would like to write Java code that invokes R to do a simple TTest. I've included my sample java code below. I tried various alternatives and am unable to pass a vector to the TTest method. In my investigation, I tried to call other R methods that take vectors and also ran into various degrees of failure. Any insight you can provide or other Web references you
2004 May 17
1
Problem with package SJava
Hello all,
I'm trying to run SJava package (0.65 modified downloaded from :
http://stats.math.uni-augsburg.de/iPlots/alpha/) on windows NT 2000 and R
1.8.01. I have also downloaded the PDF Calling R from Java and when I want
to execute the following code:
import org.omegahat.R.Java.*;
import java.io.*;
public class Essai{
public static void main (String [] args) {
REvaluator e = new
2011 Sep 14
1
S4 method dispatch
List,
In order to get rid of some old, unreadable S3 code in package sp, I'm
trying to rewrite things using S4 methods. Somewhere I fail, and I
cannot sort out why. In order to isolate the problem, I created two
functions, doNothing<- and dosth, and both should do nothing. The issue
is that in most cases they do nothing, but in some cases dosth(obj)
changes the class of obj and breaks with
2004 Jun 08
3
SJAVA error
Hi
I'm trying to use SJava and I have troubles.
I try to run examples from "Calling R from Java"
but,I have an error that
"fatal error: enable to open the base package"
I heard SJAVA bug,
so,could you send me your compiled SJava package with the modified
REmbed.c because
in Windows i'm not able to recompile!!!
--example
package org.omegahat.R.Java;
public
2002 Sep 24
1
Threaded R-Java
Hello all,
We currently have a java web utility that allows
multi-threaded data analysis using S+.
We want to migrate it to R. However, the guy who
preceded me here left some documentation indicating
that he couldn't implement it because R didn't support
threading. Also, he noted that the R-Java
interface(org.omegahat.R.Java.REvaluator) wasn't
thread safe even if R was.
Can
2006 May 06
1
R et Java
Bonjour,
Je developpe une application java et je veux integrer du code R dans mon programme . Le programme de test que j’ai fait est :
import org.omegahat.R.Java.*;
public class REvalSample {
public static void main(String [] args) {
String [] rargs = {"--slave", "--vanilla"};
System.out.println("Sample program to call R engine from
2010 Feb 08
2
Error on start R in server
Hello all,
(Thank for your reply)
I have a web-application in Apache Tomcat, when i start R in this
application,
I used packe RSJava
Code
ROmegahatInterpreter interp;
String [] rargs = {"--no-save"};
REvaluator e;
interp = new ROmegahatInterpreter (
ROmegahatInterpreter.fixArgs(rargs),false );
e =new REvaluator ();
Errors
================
R version 2.10.1 (2009-12-14)
2002 Sep 03
2
Problem with SJava sample "JavaRCall"
Hi,
I am trying to run the example "JavaRCall" with SJava 0.65 and R1.5.1
under
Windows NT4.0. Although loadLibrary("RInterpreter") worked successfull,
the
following error occurs:
"Exception breakpoint occurred at line 65 of ROmegahatInterpreter.java.
java.lang.UnsatisfiedLinkError: boolean
org.omegahat.R.Java.ROmegahatInterpreter.initR(java.lang.String[])
boolean
2001 Jun 19
3
RJava lib error
Hello all!
I recently install R-1.2.3 and Omegahat SJava pkg
(formely Java pkg) 0.62 and tried running the examples
by issuing "scripts/RJava --example --gui=none" and I
got the following:
Error in dyn.load(x, as.logical(local),
as.logical(now)) :
unable to load shared library
"/usr/lib/R/library/ctest/libs/ctest.so":
ld.so.1:
2011 Feb 24
1
Experiencing errors after adding new nodes
Hi,
I had a 2 node distributed cluster running on 3.1.1 and I added 2 more nodes. I then ran a rebalance on the cluster.
Now I am getting permission denied errors and I see the following in the client logs:
[2011-02-24 09:59:10.210166] I [dht-common.c:369:dht_revalidate_cbk] loader-dht: subvolume loader-client-3 returned -1 (Invalid argument)
[2011-02-24 09:59:11.851656] I
2005 Jul 26
1
Anybody have a binary version of SJava for rw2001 (Windows)?
I am not a techie and have been struggling 2 days solid to try and install
SJava (the source from http://www.omegahat.org/RSJava/). Does anybody have a
binary file for me (I am Windows XP and rw2001)? I have tried installing
Perl, mingwin and the cygwin tools but still no luck. When I try “R CMD
INSTALL c:\SJava_0.78-0.tar.gz” I get the following (and haven’t a clue what
it could mean):
2002 Aug 15
0
SJava, another UnsatisfiedLinkError
Thanks for Professor Ripley and Brad's reply.
UnsatisfiedLinkError: SJava.dll is gone. But, I have another problem. I
have been trying to figure out, but, without success.
Here is my test.java:
import java.io.*;
import org.omegahat.R.Java.REvaluator;
public class test {
public static void main(String args[]) {
System.out.println("Hello...");
2003 Aug 20
0
SJava in R
Hi,
Did anyone sucessfully install SJava package to R and was able to call R
function from java in redhat linux8.0? I tried several days it still give
me error either in libR.so or libjvm.so. for example, I can compile
JavaRCall.java(a example with the SJava package) without problem. When
I run it, it can connect to R and accomplish part of results, but fail for
other calls. The outputs are:
2003 Oct 23
0
Problem w/ SJava package
Hello,
Seems like it is almost working properly. I was able to run examples calling
R from Java successfully for the java code below. However, some commands,
such as "objects" when not commented out, give me the following error? If
you could point me to the correct place to find a solution, I would much
appreciate it. I am new to the R community and not sure where is the
appropriate
2009 Mar 16
0
[LLVMdev] MachO and ELF Writers/MachineCodeEmittersarehard-codedinto LLVMTargetMachine
Aaron, I mailed in the same mail twice (by mistake), you answered both
copies. Differently!
In any case, I've re-read what exists. I'm dumping what I understand
here, so that we can discuss in detail. I'm using MachO as the example
object format, as the ELF code is totally broken and outdated. Lets
use the following as the basis for our discussion?
There are 3 classes which
2004 Apr 23
0
SJava embedded in R
Hi,
Here's some suggestions for troubleshooting the
install.
The CLASSPATH needs to be
$SJAVA_HOME/org/omegahat/Jars/Environment.jar,
$SJAVA_HOME/org/omegahat/Jars/antlr.jar
$SJAVA_HOME/org/omegahat/Jars/jas.jar
$SJAVA_HOME.
This allows the java compiler/interpreter to find
1)the ROmegahatInterpreter and REvaluator classes(in
a org/omegahat/R/Java tree under SJava
2)& the
2015 Dec 01
10
[RFC] Intrinsic naming convention (words with dots)
Hi everyone,
We seem to have allowed our documented target-independent intrinsics to acquire a somewhat-haphazard naming system, and I think we should standardize on one convention. All of the intrinsics have 'llvm.' as a prefix, and some also have some additional prefix 'llvm.dbg.', 'llvm.eh.', 'llvm.experimental.', etc., but after that we lose consistency. When
2002 Jan 19
0
Troubles in SJava
OS : Win95
R Version : 1.4.0
JDK Version : 1.3.0
Hi, R-statisticians all over the world.
I'm trying to handling R objects in the Java code as follows:
[c:\myjava\R2JTest.java]
import org.omegahat.R.Java.*;
class R2JTest {
public static void main(String args[]) {
REvaluator e = new REvaluator();
Object val = e.eval("objects()");
int i;