Displaying 2 results from an estimated 2 matches for "jvm_close".
2005 Jul 27
1
unable to source a .R file using RJava
...n
# -----------------
# (A) launch R thru java via --> ./RJava --example --gui-none
# [omegahat->R] source ("/imports/nas1/people/lobrien/dist2.1_rc1/hh/src/r/doNothing.R")
#
# Unexpected Signal : 11 occurred at PC=0xFE0C2B44
# Function=[Unknown. Nearest: JVM_Close+0x6BFC4]
# <snip>
#
# (B) call it via .java file. See JavaRCall3
getData <- function(query,
db.name="csbdev",
user.name="noone",
passwd="pass"){
R <- 2
R
}
.java code to invoke the...
2005 Jul 27
0
core dump when call t.test via the "RJava --example --gui-none" interface
...ava: 0.68
OS: SunOs 5.8
example code that works
-----------------------
[omegahat->R] mean (c (1,2,3))
2.0
example code that core dumps
-----------------------------
[omegahat->R] t.test (c (1,2,3), c(4,5,6))
Unexpected Signal : 11 occurred at PC=0xFE0C2B44
Function=[Unknown. Nearest: JVM_Close+0x6BFC4]
Library=/imports/filer04/tools/app/j2sdk1.4.1_02-20030305/j2sdk1.4.1_02/jre/lib/sparc/client/libjvm.so
Current Java thread:
at org.omegahat.R.Java.REvaluator.eval(Native Method)
at org.omegahat.R.Java.REvaluator.eval(REvaluator.java:90)
at org.omegahat.R.Java.REval...