search for: javainit

Displaying 18 results from an estimated 18 matches for "javainit".

2001 Oct 02
2
R and Java
...expose my problem, this the configuartion of my environment. I use the version 1.2.1 of R with a limux system (redhat) I have installed SJava (from omeghat) package successfully. So, i wanted to try an example (calc.R) that is provided in the library. This is the message I obtained: Error in isJavaInitialized("Java virtual machine has not been initialized. Call .JavaInit Java virtual machine has not been initialized. Call .JavaInit() So, i tried .JavaInit() but i obtained Segmentation fault (core dumped) Could somebody help me ? Thanks, Olivier -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2002 Aug 29
3
running SJava
Folks, Having problems getting started with SJava and request help. I get this error when running .JavaInit() (within RGui 1.5.1, on Windows 2000): Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath! (Before you right back saying read the emails, please read further - in short, been there, done that) Environment: RWin 1....
2002 Aug 09
2
error starting SJava: classpath
...r 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() Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath! > Javaconfig() Error: couldn't find function "Javaconfig" > JavaConfig() Error: couldn't find function "JavaConfig" > tmp...
2004 Aug 30
2
problem with SJava
...ibed 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 = C:\Program Files\Java\j2re1.4.2_04 > .JavaInit() Error in .JavaInit() : Couldn't start Java Virtual Machine: Can't create Java Virtual Machine what can I do? > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major...
2002 Jun 20
1
Questions on Instalation of SJava Package to R1.5.0
...xpects, I tried to install the SJava package to the Library subdirectory of my R1.5.0. However, when I tried it according to the instructions from http://www.omegahat.org/RSJava/, I got the following error messages: library(SJava) Error in .Defunct() : `.Alias' is defunct. See ?Defunct. >.JavaInit() Error: couldn't find function ".JavaInit" I downloaded SJavaWin 0.62-8.zip, and unzip it under Window systems. Any help is appreciated. Charlie Liu Graduate Intern at US EPA. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list --...
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 gives the error: The instruction at "0x10bc9f0d" referenced memory at "0x10d60008". The memo...
2004 Oct 15
0
SJava 0.65 and R 2.0.0 (slightly long)
.../Run,${OMEGA_HOME}/Jars/Environment.jar" java.library.path "" $libraryPath [1] "" -------------------------------------------- and doing .JavaInit() gives me: JVM (nil) Env (nil) [1] error initializing manager class Cannot find the Omegahat interface manager class. Check you classpath! Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath! >From the output fo...
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 $classPath [1] "/usr/lib/R/library/SJava/org/omegahat/Jars/Environment.jar&qu...
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 <- javaConfig() > tmp$classPath [1] "C:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/Environment.jar" [2] "C:/PROGRA~1/R/rw1051...
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 Files/R/rw1051/library/SJava/org/omegahat/Jars/Environment.jar" [2] "F:/Program Files/R/rw1051/library/SJava/org/.."...
2004 Sep 09
1
SJava, Client X11
...f the server, But, if I run theses examples on an “X11 client”, under Linux or windows, with a “correct configuration” of the X11 client (export DISPLAY=machine:0.0 on Linux for example), I have a “scratch” of the R session without any messages … For example: > library(SJava) > .JavaInit() > source(“DynamicButtonCallback.R”) Run perfectly on the server, with a creation of a button on the display. But the same instructions, on the X11 client, create the button and immediately crash the R session and destroy the button. Any Ideas? Thanks for your help. Laurent...
2005 Jun 10
0
launching RSJava from external application
...;LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/R/library/SJava/libs:/usr/java/j2sdk1.4.2_08/jre/lib/i386/client:/usr/java/j2sdk1.4.2_08/jre/lib/i386:/usr/java/j2sdk1.4.2_08/jre/../lib/i386: export LD_LIBRARY_PATH" After installation, type the following command * library(SJava) * .JavaInit() * .Java("java.lang.System", "getProperty", "java.class.path") * names(.Java("java.lang.System", "getProperties")) Get the correct output (omitted here) . Now the question is: I am using R to interact with Cytoscape ( a visualization too...
2003 May 08
3
R crashes with package SJava; was Memory leakage?
...t are there other possibilities? --- R code pasted into Rgui rm(list=ls()) # see below for ouput, # used sink to get probale error messages # (doesn't work; can one "sink" error messages?) sink("k:/SJavaFault.rout") version # load SJava library(SJava) library(help=SJava) .JavaInit() # try SJava .Java("Math","PI") # load example source("d:/R/rw1062/library/SJava/examples/ttest.R") x<-rnorm(10) y<-rnorm(10,1) # test example, crashes after specifying x and y in the dialog and pressing "Submit" dialog.t.test() # Rgui.exe still runnin...
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), length(as.character(properties))) with the error message "Couldn't start Java Virtual Machine: Can't create Java Virtual Machine" With the following arguements: classPat...
2004 Jan 15
0
Sjava question on MacOS 10.3
...for a HTML browser interface to help. Type 'q()' to quit R. > options(STERM='iESS', editor='emacsclient') > library(SJava) Warning message: The Java machine is no longer initialized automatically. You must explicitly load it in: firstlib(which.lib.loc, package) > .JavaInit() > JavaConfig() Error: couldn't find function "JavaConfig" > javaConfig() $classPath [1] "/Users/sdavis/R-1.81/lib/R/library/SJava/org/omegahat/Jars/Environment.jar" [2] "/Users/sdavis/R-1.81/lib/R/library/SJava/org/.." [3] "/Users/sdavis/R-1.81/lib/R/...
2003 Nov 22
0
R crashes with package SJava; was Memory leakage?
...html https://www.stat.math.ethz.ch/pipermail/r-help/2003-May/031969.html https://www.stat.math.ethz.ch/pipermail/r-help/2003-May/032048.html I think I set up JAVA_HOME property, i.e. JAVA_HOME="D:\j2sdk1.4.0_03\jre" So, I can see that these sentences work from R. library(SJava) .JavaInit() .Java("java.lang.System", "getProperty", "java.class.path") names(.Java("java.lang.System", "getProperties")) However, when I try to run an example which uses a call-back process from Java to R, such as "ttest.R" http://www.om...
2000 Jul 28
0
RJava and Orca...
...t/faculty0/rossini/sandbox/Src/Java/Orca/orca/" orcaHomeOrcaJar <- paste(orcaHomeDir,"classes/orca.jar",sep="") orcaHomeVisADJar <- paste(orcaHomeDir,"jars/visad.jar",sep="") orcaClasses <- c(orcaHomeOrcaJar,orcaHomeVisADJar) ## Initialize JVM .JavaInit(list(classPath=orcaClasses)) ## Verify JVM has Orca in its path .Java("System", "getProperty", "java.class.path") -------------- VarSelExample.R --------------- ## The .name="blah" part turns out to be essential... od.1 <- .Java("org.orca.data.par...
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)