similar to: SJava embedded in R

Displaying 20 results from an estimated 1000 matches similar to: "SJava embedded in R"

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
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
2007 May 19
0
SJava installation
Hi. I have downloaded SJava from http://www.omegahat.org/RSJava/ as well as all of the tools required. I have done exactly what is said on that page as well as http://www.murdoch-sutherland.com/Rtools/Rtools.txt. When I type: make pkg-SJava It seems like it IS installing but then i get the following error: ... extracted: org/omegahat/Environment/Help/Interpreter.html extracted:
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
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 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...");
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;
2003 Sep 24
1
SJava help
Hi, I installed SJava 0.66-1 on my linux RH 7.2 machine. I am using R-1.7.1. I set LD_LIBRARY_PATH up then called library(SJava) and it was fine. But when I called .JavaInit(), I got weird error that states it could not find java/lang/Hashtable. The session is below and shows my java configuration. I am using j2sdk1.4.2_01 from Sun. Thank you very much. Weiming Zhang > .javaConfig
2005 Jul 27
1
unable to source a .R file using RJava
I am unable to source a ".R" file using RJava. I tried a couple of different tests: 1) using java and the evaluation method core dumps 2) using ./RJava --example --gui-none to invoke source core dumps. 3) 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
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):
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
2004 Oct 15
0
SJava 0.65 and R 2.0.0 (slightly long)
Hi, I had some Java code that worked with SJava 0.65 under R 1.8.*. I'm trying to get it to work with R 2.0.0. My JVM is Sun 1.5.0 (running on Fedora Core 2) I downloaded and installed SJava 0.65 in my personal directory using R CMD INSTALL SJava-0.65.tar.gz -l ~/src/Rlibrary and before starting R I sourced RJava.bsh. However after loading the SJava library if do javaConfig() I get
2007 Oct 28
1
R-devel Digest, Vol 56, Issue 27
Dear R expert: I have the problems with calling R from Java on Windows XP_SP2/Eclipse3.1/JDK1.5 problems: Loading RInterpreter library Exception in thread "main" java.lang.UnsatisfiedLinkError: no RInterpreter in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at
2004 Jan 15
0
Sjava question on MacOS 10.3
I am running R-1.81, apple's JVM installed with OS 10.3.2, and installed Sjava-0.65.X (a patched version of Sjava for MacOS from Simon Urbanek, which I know is inherently dangerous, but...). This version installed fine and some aspects seem to work as expected. However, this is one of the examples and causes R to hang. Any insights? What other information should I provide to make it easier
2002 Jul 10
0
Configuring SJava on Windows
Dear R users, I was happy to find a binary library for SJava in the last released of R (1.5.1)... I am able to load the library... but I have some problems to run this library: > .JavaInit() Error in .JavaInit() : Couldn't start Java Virtual Machine: Can't create Java Virtual Machine > javaConfig() $classPath [1] "F:/Program
2005 Jul 20
0
Question about Installing SJava package
Dear all, I have an error message installing SJava package. So I searched web site(google) and R-mailing list to find a similar error message. But I couldn't find it. I installed R-2.1.1 like this on Fedora Core4 1) /configure --enable-R-shlib --with-libpng --with-jpeglib 2) make -> make check -> make install and then issuing on shell prompt (red lines are error messages) R CMD
2003 Nov 22
0
R crashes with package SJava; was Memory leakage?
Dear All, <<OS and software>> R-1.81 j2sdk1.4.0_03 SJava_0.66-1 Windows NT4.01 I try to run R from Java with SJava and I seem to have the same problem as discussed before in this mail list a few month ago: https://www.stat.math.ethz.ch/pipermail/r-help/2003-May/031960.html https://www.stat.math.ethz.ch/pipermail/r-help/2003-May/031962.html
2006 May 06
5
R and Java
Hello I m tryng to execute the code below and I have a problem with the R-Java connection.: 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 Java"); ROmegahatInterpreter interp = new
2003 Feb 03
2
[Out off-topic] SJava under Windows
Sorry for this off-topic subject. I am fighting for running SJava under Windows. SJava_0.64 (compiled by Simon Urbanek, thanks), R 1.6.2, Java JDK 1.4.0_02, Windows XP pro: > library(SJava) > .JavaInit() Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath! > # And the second time... > .JavaInit() It
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