Skip to content

crash after using graphics in Rcmdr (PR#13679)

3 messages · Rob Goedman, John Fox

#
Dear Rob,

Thanks for picking this up. Please see my remarks below:

On Fri, 01 May 2009 07:55:46 -0700
Rob Goedman <goedman at mac.com> wrote:
I figured that the Rcmdr wasn't directly implicated, but my guess was
that it was a tcltk issue, so this is very useful information. The
problem didn't occur for me outside of R.app, but then I wasn't using
the Quartz graphics device.
This "works" for me every time: (1) In a fresh R.app session, load the
Rcmdr, library(Rcmdr). (2) "Data -> Data in packages -> Read data set
from an attached package." Pick any data set. I used Prestige from the
car package. (3) Draw any graph on the Quartz device. I used "Graphs ->
Histogram" and selected education. Close the Quartz device, and watch
the crash.

I hope that this proves of some use in diagnosing the problem.
No -- this is more natural on r-sig-mac.

Thanks for your help,
 John
--------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
1 day later
#
Hi John,

Thanks for your procedure to reliably 'crash' R.app.

On my system sometimes this leads to an immediate crash, sometimes it  
happens when I ask for a 2nd plot or use another application after  
closing the 1st graphics window. I think using Rcmdr creates a similar  
condition as sourcing a file with graphics commands from TextMate.

As a workaround, in all cases, if I go back to the R Console window  
and e.g. enter a CR that condition is 'cleared', closing the graphics  
window will no longer create an issue.

I've several times tried to track this problem down but never with any  
luck. I take it as another artifact of the way documents are created/ 
deleted in the current R.app.

Rob
On May 1, 2009, at 9:16 AM, John Fox wrote:

            
#
Hi Rob,

Thanks for checking this out. I wonder whether it's worthwhile to advise
Rcmdr Mac users to avoid R.app, and instead to run R and the Rcmdr from a
terminal, since presumably they'll be making minimal use of the command
line.

Best,
 John