R crashes with package SJava; was [R] Memory leakage?
th50 at leicester.ac.uk
Thu May 8 15:04:26 CEST 2003
Maybe this has something to do with R crashing?
When my R version crashes, there is Rgui.exe still
running in the background (i.e. W2K's task manager
recognises it only as a process, which apparently
is using almost 100% of the CPU).
I can reproduce that by "using" the SJava package
(from Brian Ripley's homepage, as suggested on
http://www.omegahat.org/RSJava/). When loading the
package, and running the ttest example, my Rgui.exe
crashes, and I end up with the process Rgui.exe
still alive using the CPU extensively. The same
happens on my stand-alone machine at home (with the
same OS and R versions but newest Sun JDK).
Any comments greatly appreciated.
P.S. At the end an error message appears, but I'm not
able to sink it. I could run it in a terminal - but
are there other possibilities?
--- R code pasted into Rgui
# see below for ouput,
# used sink to get probale error messages
# (doesn't work; can one "sink" error messages?)
# load SJava
# try SJava
# load example
# test example, crashes after specifying x and y in the dialog and pressing "Submit"
# Rgui.exe still running as a process, but not an application (according to task manager)
--- Output of sink and library(help=...)
system i386, mingw32
using JAVA_HOME = Y:/Java Development Kit/Java2sdk1.4/jre
Title: The Omegahat interface for R and Java.
Author: Duncan Temple Lang <duncan at research.bell-labs.com>, John
Chambers <jmc at research.bell-labs.com>
Depends: R (>= 1.1.0)
Maintainer: Duncan Temple Lang <duncan at research.bell-labs.com>
Description: An interface from R to Java to create and call Java
objects and methods.
License: GPL version 2 or newer. http://www.gnu.org/copyleft/gpl.html
URL: http://www.omegahat.org/RSJava, http://www.omegahat.org
Built: R 1.6.2; Win32; Thu Feb 27 19:18:38 GMTST 2003
cmd <- ev$getActionCommand()
if(cmd == "Reset")
Research Associate in Medical Statistics
University of Leicester
Department of Epidemiology and Public Health
22-28 Princess Road West
Tel +44 116 252-5410
Fax +44 116 252-5423
Division of Medicine for the Elderly
Department of Medicine
The Glenfield Hospital
Tel +44 116 256-3643
Fax +44 116 232-2976
From: Duncan Murdoch [mailto:dmurdoch at pair.com]
Sent: 03 May 2003 23:59
To: tshi at itsa.ucsf.edu
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Memory leakage?
On Sat, 03 May 2003 20:33:49 +0000, you wrote:
>I haven't tried re-installing windows yet, because it seems to be a big task
>for me and also I kind of doubt that the problem is due to my own
>computer(s), because the same problem happens to 3 different computers: one
>Dell desktop in school runing Win2K and R 1.6.1, my Dell laptop runing Win
>XP Professional Edition and R 1.7.0 and my new Dell desktop at home (just
>bought less than a month and only a few basic softwares were installed)
>runing Win XP Home Edition and R1.7.0. (may be they're all from Dell :-))
>I'm still looking for the pattern of when this happens, but so far, it seems
>to be random.
I don't think it's a Windows problem. I've seen it occasionally, but
not reproducibly. If you can figure out some sequence of operations
that reliably produces it, please let me know.
R-help at stat.math.ethz.ch mailing list
More information about the R-help