R crashes with package SJava; was [R] Memory leakage?
takeshi.takama at transport-studies.oxford.ac.uk
Sat Nov 22 19:17:53 CET 2003
<<OS and software>>
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:
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.
.Java("java.lang.System", "getProperty", "java.class.path")
However, when I try to run an example which uses a call-back process from
Java to R, such as "ttest.R" http://www.omegahat.org/RSJava/examples/ttest.R
R crushes when I press the "submit" button. However, the RGui.exe is still
running as a process but not application. This problem is exactly the same
as the one discussed in the links above. Also, I have not succeeded to call
R from Java, either. So, simply there is a problem of call-back from Java
The discussion a few months ago looks suddenly ended, so I could not get the
answer for this problem, or I might have missed searching the archive since
I am very new to this mail list. I am trying to solve this problem for more
than a week and have no one using R around me. So, it would be grateful if
anyone can give me any hint to solve this problem.
P.S. Please tell me if I need to set else environment variables other than
The output I get after I type ".javaConfig" is below:
University of Oxford
Transport Studies Unit
St. Catherine's College
Oxford Kobe scholar
phone ++44 (01865) 2 74709
fax ++44 (01865) 515194
takeshi.takma at tsu.ox.ac.uk
More information about the R-help