Displaying 20 results from an estimated 4000 matches similar to: "Verbatim text to file"
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
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
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
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
2005 Jun 10
0
launching RSJava from external application
Hi,all,
I have a problem about launching SJava in R from external application
(Cytoscape).
My R version is 2.1.0 and Sjava version is 0.68. R is installed by issuing
1. configure --enable-R-shlib
2. make
3. make check
4. make install
SJava is installed by issuing "R CMD INSTALL -c SJava_version_.tar.gz".
The LD_LIBRARY_PATH is set in .bash_profile by
2002 Jul 01
0
error starting SJava: classpath?
Does SJava require that omegahat be installed? I have installed the
binary Windows package (SJavaWin_0.62-8.zip), made the change
eliminating the call to .alias(), with the following results on startup:
> library(SJava)
> .JavaInit()
Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath!
> tmp <-
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 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
2002 Aug 09
2
error starting SJava: classpath
Dear R experts,
Sorry, I am resending this, since I have not received this mail myself for
the past 5 hours.
I saw a similar question dated July 2. But there is no answer to it. Does
anybody have a solution to it?
I am using window NT, and the R version is 1.5.1, the SJava package is the
binary version SJavaWin_0.62-8.zip.
Here are the error message:
> library(SJava)
> .JavaInit()
2002 Oct 24
1
Rjava failing to initialize in Windows 2000
Dear Any,
I am trying to initialise Rjava with the objective of running ORCA within R.
I am running R1.5.1 on Windows2000 and get the same problem with Sun
Java run time jre-1.2.2_013
Java j2re-1.4.1_01
Microsoft Java Virtual Machine Build 3805
.JavaInit() is failing at :
.C("s_start_VM", as.character(classPath), as.character(classPath),
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
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
2005 Jul 25
0
Installing SJava
Apologies, I am a non-techie so am finding installing SJava (which I need
for RMAGEML) very frustrating indeed.
I am running rw2001 on WindowsXP with Java - jre1.5.0_02. Could somebody
please explain to me step-by-step how to install it as I have tried all the
help files. The website’s (HYPERLINK
"http://www.omegahat.org/RSJava/"http://www.omegahat.org/RSJava/)
instructions for
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:
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
2004 Mar 05
1
Problems with SJava instalation
Hi,
I'm try to use the SJava package. The install is OK. In R I have this error
message:
--------------------------
> library(SJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/opt/lib/R/site-library/SJava/libs/SJava.so":
libRSNativeJava.so: cannot open shared object file: No such file or
directory
Error in
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
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
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;