Displaying 20 results from an estimated 400 matches similar to: "SJAVA error"
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
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
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
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
2010 Jan 12
1
trouble with installing SJava
Colleagues,
How i can solve this error when i install SJava package
Thanks
----------------
R CMD INSTALL -c /usr/local/lib/R/SJava_0.69-0.tar.gz
* installing to library ?/usr/local/lib/R/site-library?
* installing *source* package ?SJava? ...
checking for java... /usr/lib/jvm/java-6-sun/bin/java
Java VM /usr/lib/jvm/java-6-sun/bin/java
checking for javah... /usr/lib/jvm/java-6-sun/bin/javah
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
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
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
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 May 07
3
Rterm
Dear all,
Two questions regarding rterm
First:
C:\Program Files\R\rw1081\bin\rterm.exe --vanilla <test.r --args "Arg1"
"Arg2"
worked for me so far with r Version 1081, to start a R script with the
given arguments.
With R1090
C:\Program Files\R\rw1090\bin\rterm.exe --vanilla <test.r --args "Arg1"
"Arg2"
There is the error message: Rterm.exe
2004 Jun 04
1
R CMD check, Windows XP, perl
Dear R users and developers,
I'm trying to build a package. The R CMD build works fine.
The R CMD check produces allways the following error:
..
installing indices
Can`t locate File/Basename.pm in @ING (@ING contains: D:/../rw1090/share/perl d:/../rw1090/lib .) at D:/../rw1090/share/perl/build-help-windows.pl line 20. BEGIN failed--compilation aborted at
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 May 07
1
Error compiling ROracle on Windows 2000
Hello,
I am trying to compile ROracle _0.5-4 under R 1.9.0 without much success. I am running Windows 2000 SP4, Visual C++ 6.0 SP6, and Oracle client 9.2.0.1.0. I was able to run the pre-compiled version of ROracle_0.5-2 under R 1.7.1, but does not work on R 1.8.1 or R 1.9.0. Here is the output from nmake:
C:\Program Files\R\rw1090\library\ROracle\src>nmake
Microsoft (R) Program
2004 Apr 20
2
Creating a package in R 1.9.0
Dear all
I am trying to create a package in R 1.9.0 and I a getting an
error message which I do not understand. (I am using R in Windows
XP and 2000)
For example the following works well in 1.8.1
C:\Program Files\R\rw1081\src\gnuwin32>make pkg-gamlss
---------- Making package gamlss ------------
adding build stamp to DESCRIPTION
installing inst files
installing indices
not zipping
2007 Jun 29
3
[PATCH] Fix keymap for Japanese keyboard
Hi All,
We tested with Japanese keyboard.
Then, the local keys that was not able to be input with a Japanese keyboard was
found.
This patch added the key that was not able to be input to the keymap.
The key that cannot be input is as follows.
・Katakana
・Eisu_Toggle
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Junko Ichino
2004 May 31
1
Several libraries won't load with rw1090pat (PR#6926)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
Several libraries won't load with rw1090pat.
MASS, which is included with the distribution,
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:
2004 Apr 24
2
Changing Gui preferences
I want to modify my Gui preferences to get rid of the MDI toolbar and
status bar. [ Under Windows XP and R 1.8.1 and 1.9.0.]
When I uncheck the boxes and click "apply" I am told to save the
preferences and the changes will take effect when restarting R. I click
"save" and a box comes up to ask me to save Rconsole (I'm not sure where
this should be saved but I navigate