Skip to content

R crash in Terminal.app

2 messages · Steven McKinney, Kjell Konis

#
It works alright for me from Terminal.app - could this be a tcl/tk issue for you?

$ R

R version 2.11.1 (2010-05-31)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
null device
          1
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://cran.stat.sfu.ca/bin/macosx/leopard/contrib/2.11/car_2.0-2.tgz'
Content type 'application/x-gzip' length 768891 bytes (750 Kb)
opened URL
==================================================
downloaded 750 Kb


The downloaded packages are in
        /var/folders/-I/-IwfookDG3Wu7O0-CiOMZE+++TI/-Tmp-//RtmpZ3NPdN/downloaded_packages
R version 2.11.1 (2010-05-31)
x86_64-apple-darwin9.8.0

locale:
[1] en_CA.UTF-8/en_CA.UTF-8/C/C/en_CA.UTF-8/en_CA.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tcltk_2.11.1 tools_2.11.1
[1] "en_CA.UTF-8/en_CA.UTF-8/C/C/en_CA.UTF-8/en_CA.UTF-8"
Steven McKinney

Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre
2 days later
#
It looks like I forgot to reply to the list when responding to Simon's comment. Sorry about that. In any case it seems like the problem is specific to me. Thanks for taking the time to look into this.
Kjell



My reply to Simon's comment:

I am running OS X 10.6.4 and using the CRAN binary of R 2.11.1, downloaded and installed today. I think the problem might be related to the default for the DISPLAY variable when you run a shell in Terminal.app. If I either unset DISPLAY or set it to :0 I do not get the crash. If I leave the default value (which somehow starts X11.app if it's not already running), something like

/tmp/launch-1XKdV7/org.x:0

then I get the crash described below.
On 27 ao?t 2010, at 19:54, Steven McKinney wrote: