[R] SJava installation

2007-05-19 Thread mister_bluesman
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

[R] Sjava on Windows?

2006-07-10 Thread Dr Martin Austwick
Hello everyone I am very much a newcomer to R and I need to call R processing routines from java and pass back the results to java. It seems sjava is the way to do this, but there seems to be a lot of complexity surrounding configuring R for this purpose. I need to do this under windows XP.

Re: [R] Sjava on Windows?

2006-07-10 Thread Prof Brian Ripley
(R)SJava is part of the Omegahat project, not the R project. In theory at least, Omegahat has its own mailing lists. In any case, the R posting guide asks you to contact the maintainer of a contributed package before this list, so please do so now. There are easier-to-setup alternatives

[R] SJava linux installation problems

2005-08-05 Thread Dhiren DSouza
Hi: I am extremely new to linux so bare with the questions. I am trying to install the SJava package for R on linux (debian). I issue the R CMD INSTALL SJava_0.68-0.tar.gz and get the following error Cannot find Java. Please set your path to include the directory in which the java executable

Re: [R] SJava linux installation problems

2005-08-05 Thread Paul Roebuck
On Fri, 5 Aug 2005, Dhiren DSouza wrote: I am extremely new to linux so bare with the questions. I am trying to install the SJava package for R on linux (debian). I issue the R CMD INSTALL SJava_0.68-0.tar.gz and get the following error Cannot find Java. Please set your path to include

[R] SJava converter

2004-12-02 Thread Slim Shady
public static Object myMethod () { ... Object obj = null; if () { obj = new String [size] ; } else { obj = new double [size]; } ... System.out.println(in java); return obj; } This Java function returns String[] or Double[]. This is how I call the function from my R

[R] SJava

2004-12-02 Thread Slim Shady
is the SJava package still being maintained and who maintains it? Who should I send SJava issues to? The email on the omegahat site does not deliver. __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] SJava convert problem

2004-12-02 Thread Slim Shady
Consider this Java class: class myClass { final public static String[] testString () { return new String[]{my, name, is} ; } final public static int[] testInt () { return new int[]{5, 10, 15}; } final public static char[] testChar () {

Re: [R] SJava convert problem

2004-12-02 Thread Spencer Graves
I have not previous knowledge of SJava, but I just went to www.r-project.org - CRAN - (selected a local mirror) - Software: Packages, and did not find SJava on the list. Conclusion: It's not a current R package. I then went back to www.r-project - search - R site search - SJava, and

[R] SJava

2004-12-01 Thread Yasser El-Zein
Is theer an SJava mailing list? I have the following SJava related question: I am calling a Java methos in this mannor: a - .Java(className, methodName) print(done) As defined, the mother returns an Object in some case this Object points to an array of 100,000 Strings. The method prints a

[R] SJava

2004-11-30 Thread Yasser El-Zein
How can I increase the JVM's memory using teh SJava library? __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] SJava

2004-11-18 Thread Yasser El-Zein
I failed to build SJava dure to teh error below. Any ideas? # R CMD INSTALL -c SJava_0.68-0.tar.gz * Installing *source* package 'SJava' ... checking for java... /opt/j2sdk1.4.2_06//bin/java Java VM /opt/j2sdk1.4.2_06//bin/java checking for javah... /opt/j2sdk1.4.2_06//bin/javah Looking in

Re: [R] SJava

2004-11-18 Thread Prof Brian Ripley
Seem pretty straightforward to me: either gpp is not a C++ compiler or it does not work (possibly because LD_LIBRARY_PATH does not contain its run-time libraries). On Thu, 18 Nov 2004, Yasser El-Zein wrote: I failed to build SJava dure to teh error below. Any ideas? # R CMD INSTALL -c

Re: [R] SJava

2004-11-18 Thread Yasser El-Zein
Thank you Prof Ripley for your guidance. I re-installed gpp and SJava installed correctly. I am now running into this problem: When I load the SJava library I get: library(SJava) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library

Re: [R] SJava

2004-11-18 Thread Prof Brian Ripley
You need to ensure that libRSNativeJava.so is in your LD_LIBRARY_PATH: last time I looked SJava came with scripts to achieve this, and I suspect you need to read the documentation about them. As a further note, these are programming questions about a non-R product, and R-help is _really not_

[R] SJava loading --error!

2004-10-27 Thread ram
Hi list, I am having a problem in SJava. while loading the library I get the folowing error. library(SJava) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library /usr/lib/R/library/SJava/libs/SJava.so: libRSNativeJava.so: cannot open shared

Re: [R] SJava loading --error!

2004-10-27 Thread Prof Brian Ripley
On Wed, 27 Oct 2004 [EMAIL PROTECTED] wrote: I am having a problem in SJava. while loading the library I get the folowing error. library(SJava) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library /usr/lib/R/library/SJava/libs/SJava.so:

[R] SJava 0.65 and R 2.0.0 (slightly long)

2004-10-15 Thread Rajarshi Guha
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

[R] SJava Issue

2004-09-23 Thread Anar Khan
Hi, I have downloaded and installed SJava-0.68-0 on my linux box. When I try to initialise the JVM from within R this is what I get: .JavaInit() (1) error initializing manager class can't find class java/lang/Hashtable Error in .JavaInit() : Couldn't start Java Virtual Machine: can't find

Re: [R] SJava, Client X11

2004-09-16 Thread Martin Maechler
tony == A J Rossini [EMAIL PROTECTED] on Mon, 13 Sep 2004 11:06:07 -0700 writes: tony Prof Brian Ripley [EMAIL PROTECTED] writes: In theory Omegahat has its own mailing lists. tony Possibly not in practice. I can't remember which machine (ETH or tony UWisc) they were

RE: [R] SJava, Client X11

2004-09-13 Thread Prof Brian Ripley
d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Laurent Buffat Envoyé : jeudi 9 septembre 2004 17:20 À : [EMAIL PROTECTED] Objet : [R] SJava, Client X11 Hi, I have installed the SJava package (see http://www.omegahat.org/RSJava/ ) without any problem. I

[R] SJava, Client X11

2004-09-09 Thread Laurent Buffat
Hi, I have installed the SJava package (see http://www.omegahat.org/RSJava/ ) without any problem. I was able to run the examples (see http://www.omegahat.org/RSJava/examples/index.html ) from R, on my “R Linux server” and directly on the display of the server, But, if I run theses

[R] sjava problem

2004-08-25 Thread Pillas Thibaut
hello, I am trying to install SJava on Windows XP as described on http://www.omegahat.org/RSJava/: at the level configure.win: $rhome/sjava/configure.win returned argument 'c:/...' ignored When i tried to install like the readme file, it returned in R library(SJava) using JAVA_HOME =

[R] SJava - restart function

2004-07-15 Thread Kathryn Jones
Hi folks, Does anyone know about using event handling in SJava?? I tried examples from here: http://www.omegahat.org/RSJava/examples/ but they are quite old I think and don't work in newer versions of R due to the restart() function being defunct. Does anyone know how to get around this

[R] SJava - restart() is defunct

2004-07-13 Thread Kathryn Jones
Hi, I'm using the SJava package and am trying to get event handling to work, but no examples from http://www.omegahat.org/RSJava/examples/ that have any event handling work in R 1.9.0. I think the examples were all written around 2001 so most probably used an older version of R. The error

[R] SJava - restart() is defunct

2004-07-13 Thread Kathryn Jones
Hi, I'm using the SJava package and am trying to get event handling to work, but no examples from http://www.omegahat.org/RSJava/examples/ that have any event handling work in R 1.9.0. I think the examples were all written around 2001 so most probably used an older version of R. The error

Re: [R] SJava

2004-06-15 Thread Prof Brian Ripley
On Mon, 14 Jun 2004, A Friend wrote: Does anyone have any experience with SJava especially on Windows? Yes, people do have experience, as searching the list archives will show you. The experiences reported tend not to be good ones (selection bias, of course). The problem tends to be that

[R] SJava

2004-06-14 Thread A Friend
Does anyone have any experience with SJava especially on Windows? __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] SJava Help

2004-06-13 Thread A Friend
Environment: R - 1.9.0 SJava - 0.67 Windows 2000 I can get SJava to work just fine in R but I am having trouble getting R to work in Java. I have created a test class that looks like this: import org.omegahat.R.Java.*; public class Test { public static void main(String[] args) {

Re: [R] SJAVA error

2004-06-09 Thread Vincent MUTEAUD
Hi, I have the same error than you two weeks ago. As I have not found how to do, I give up my example. Yunko, I am interesting if you found how to proceed. Thanks Vincent A 01:07 09/06/2004 +0900, =?iso-2022-jp?B?GyRCTHBMbhsoQiAbJEI9ZztSGyhC?= a écrit : Hi I'm trying to use SJava and I have

Re: [R] SJAVA error

2004-06-09 Thread Prof Brian Ripley
SJava is not part of R but rather of Omegahat, so this is the wrong list. But as a hint, I think you have not set R_HOME, or not set it correctly. But please consult the R posting guide for hints as to what information might be needed to help either of you, as neither or you have provided basic

Re: [R] SJAVA error

2004-06-09 Thread Vincent MUTEAUD
Thanks I am using windows NT, R 1.9.0 and SJava 0.65 modified. I think my R_HOME is set correctly A 08:26 09/06/2004 +0100, Prof Brian Ripley a écrit : SJava is not part of R but rather of Omegahat, so this is the wrong list. But as a hint, I think you have not set R_HOME, or not set it

Re: [R] SJAVA error

2004-06-09 Thread Wolski
Hi! For Windows and mac os X use of rJava may help. http://stats.math.uni-augsburg.de/iPlots/ From there also as it seems a working older version of SJave can be downloaded. Sincerely Eryk *** REPLY SEPARATOR *** On 6/9/2004 at 9:12 AM Vincent MUTEAUD wrote: Hi, I have the

Re: [R] SJAVA error

2004-06-09 Thread Prof Brian Ripley
Please do read what I said. This is *the wrong list*, so please use teh correct one. On Wed, 9 Jun 2004, Vincent MUTEAUD wrote: Thanks I am using windows NT, R 1.9.0 and SJava 0.65 modified. I think my R_HOME is set correctly It cannot be or the base package would be found. The relevant

Re: [R] SJAVA error

2004-06-09 Thread $BLpLn(B $B=g;R(B
Ripley [EMAIL PROTECTED] (BCC: $BLpLn(B $B=g;R(B [EMAIL PROTECTED],[EMAIL PROTECTED] (BSubject: Re: [R] SJAVA error (BDate: Wed, 09 Jun 2004 10:48:15 +0200 (B (BThanks (BI am using windows NT, R 1.9.0 and SJava 0.65 modified. I think my (BR_HOME is set correctly (B (BA 08:26 09

Re: [R] SJAVA error

2004-06-09 Thread Uwe Ligges
[EMAIL PROTECTED] (B Subject: Re: [R] SJAVA error (B Date: Wed, 09 Jun 2004 10:48:15 +0200 (B (B Thanks (B I am using windows NT, R 1.9.0 and SJava 0.65 modified. I think my (B R_HOME is set correctly (B (B A 08:26 09/06/2004 +0100, Prof Brian Ripley a $BqD(Brit : (B (B SJava is not part

[R] SJAVA error

2004-06-08 Thread $BLpLn(B $B=g;R(B
Hi (B (BI'm trying to use SJava and I have troubles. (BI try to run examples from "Calling R from Java" (Bbut,I have an error that (B"fatal error: enable to open the base package" (B (BI heard SJAVA bug, (Bso,could you send me your compiled SJava package with the modified (BREmbed.c

[R] SJava

2004-05-25 Thread Laura Holt
Hi again! I'm trying to download SJava from the http://www.omegahat.org/RSJava/ website. I'm trying to get the binary. I download the version from BDR's website. When I unzip the file via unzip.exe, the new folder appears as SJAVA (upper case). library(SJava) Error in library(SJava) : There

Re: [R] SJava

2004-05-25 Thread DJNordlund
In a message dated 5/25/2004 10:20:10 PM Pacific Daylight Time, [EMAIL PROTECTED] writes: Hi again! I'm trying to download SJava from the http://www.omegahat.org/RSJava/ website. I'm trying to get the binary. I download the version from BDR's website. When I unzip the file via unzip.exe,

[R] SJava embedded in R

2004-04-23 Thread Nathan Whitehouse
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

[R] Sjava question on MacOS 10.3

2004-01-15 Thread Sean Davis
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

[R] SJava help

2003-09-24 Thread Weiming Zhang
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

RE: [R] SJava help

2003-09-24 Thread Henrik Bengtsson
Zhang Sent: den 24 september 2003 19:16 To: [EMAIL PROTECTED] Subject: [R] 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

RE: [R] SJava help

2003-09-24 Thread Weiming Zhang
settings. Again, I'm not sure if this applies to Linux, but it's worth a try. Cheers Henrik Bengtsson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weiming Zhang Sent: den 24 september 2003 19:16 To: [EMAIL PROTECTED] Subject: [R] SJava

Re: [R] SJava help

2003-09-24 Thread Duncan Temple Lang
if this applies to Linux, but it's worth a try. Cheers Henrik Bengtsson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weiming Zhang Sent: den 24 september 2003 19:16 To: [EMAIL PROTECTED] Subject: [R] SJava help

Re: [R] SJava help

2003-09-24 Thread Weiming Zhang
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weiming Zhang Sent: den 24 september 2003 19:16 To: [EMAIL PROTECTED] Subject: [R] 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

[R] SJava in R

2003-08-20 Thread Junwen wang
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

[R] SJava RInterpreter.dll

2003-04-02 Thread Robert Milic
I'm getting the following error message when running an SJava example: Exception in thread main java.lang.UnsatisfiedLinkError: no RInterpreter in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1344) at java.lang.Runtime.loadLibrary0(Runtime.java:744)