[R-SIG-Mac] R crash in Terminal.app

Steven McKinney smckinney at bccrc.ca
Fri Aug 27 19:54:12 CEST 2010


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.

> plot(1:10, 1:10)
> dev.off()
null device
          1
> install.packages("car")
--- 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
> sessionInfo()
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
> Sys.getlocale()
[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


________________________________________
From: r-sig-mac-bounces at stat.math.ethz.ch [r-sig-mac-bounces at stat.math.ethz.ch] On Behalf Of Konis Kjell [kjell.konis at epfl.ch]
Sent: August 27, 2010 6:27 AM
To: r-sig-mac at stat.math.ethz.ch
Subject: [R-SIG-Mac] R crash in Terminal.app

Hello,

I am able to consistenly crash R (both 32 and 64 bit) with the following three commands

plot(1:10, 1:10)
dev.off()
install.packages("car")

when I run R in Terminal.app.

Kjell


Warning in install.packages("car") :
  argument 'lib' is missing: using '/u/smat/konis/Library/R/2.11/library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... 2010-08-27 15:16:54.628 R[3407:60f] -[NSApplication _setup:]: unrecognized selector sent to instance 0x100559f40
2010-08-27 15:16:54.631 R[3407:60f] An uncaught exception was raised
2010-08-27 15:16:54.632 R[3407:60f] -[NSApplication _setup:]: unrecognized selector sent to instance 0x100559f40
2010-08-27 15:16:54.674 R[3407:60f] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x100559f40'
*** Call stack at first throw:
(
        0   CoreFoundation                      0x00007fff874ddcc4 __exceptionPreprocess + 180
        1   libobjc.A.dylib                     0x00007fff8502d0f3 objc_exception_throw + 45
        2   CoreFoundation                      0x00007fff87537140 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0
        3   CoreFoundation                      0x00007fff874afcdf ___forwarding___ + 751
        4   CoreFoundation                      0x00007fff874abe28 _CF_forwarding_prep_0 + 232
        5   libtk8.5.dylib                      0x0000000116a08ecb TkpInit + 530
        6   libtk8.5.dylib                      0x0000000116980cae Tk_PkgInitStubsCheck + 1938
        7   tcltk.so                            0x0000000116850fce tcltk_init + 62
        8   libR.dylib                          0x0000000100072f32 do_dotCode + 6226
        9   libR.dylib                          0x000000010009dbfc Rf_eval + 1676
        10  libR.dylib                          0x000000010009e48b Rf_DispatchOrEval + 763
        11  libR.dylib                          0x0000000100165702 do_subset2 + 66
        12  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        13  libR.dylib                          0x000000010009dfbc Rf_evalList + 92
        14  libR.dylib                          0x000000010009dac7 Rf_eval + 1367
        15  libR.dylib                          0x000000010009f9eb do_set + 603
        16  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        17  libR.dylib                          0x00000001000a2724 do_begin + 308
        18  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        19  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        20  libR.dylib                          0x000000010009d932 Rf_eval + 962
        21  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        22  libR.dylib                          0x000000010009d817 Rf_eval + 679
        23  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        24  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        25  libR.dylib                          0x000000010009d817 Rf_eval + 679
        26  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        27  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        28  libR.dylib                          0x000000010009d817 Rf_eval + 679
        29  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        30  libR.dylib                          0x000000010009e87c do_return + 140
        31  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        32  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        33  libR.dylib                          0x000000010009d817 Rf_eval + 679
        34  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        35  libR.dylib                          0x00000001000a2724 do_begin + 308
        36  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        37  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        38  libR.dylib                          0x000000010009d932 Rf_eval + 962
        39  libR.dylib                          0x000000010009fa55 do_set + 709
        40  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        41  libR.dylib                          0x00000001000a2724 do_begin + 308
        42  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        43  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        44  libR.dylib                          0x000000010009d932 Rf_eval + 962
        45  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        46  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        47  libR.dylib                          0x00000001000a2724 do_begin + 308
        48  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        49  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        50  libR.dylib                          0x000000010009d932 Rf_eval + 962
        51  libR.dylib                          0x00000001000a2724 do_begin + 308
        52  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        53  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        54  libR.dylib                          0x000000010009d932 Rf_eval + 962
        55  libR.dylib                          0x000000010009fa55 do_set + 709
        56  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        57  libR.dylib                          0x00000001000a2724 do_begin + 308
        58  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        59  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        60  libR.dylib                          0x00000001000a2724 do_begin + 308
        61  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        62  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        63  libR.dylib                          0x000000010009d932 Rf_eval + 962
        64  libR.dylib                          0x00000001000a2724 do_begin + 308
        65  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        66  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        67  libR.dylib                          0x00000001000a2724 do_begin + 308
        68  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        69  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        70  libR.dylib                          0x000000010009d932 Rf_eval + 962
        71  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        72  libR.dylib                          0x000000010009d817 Rf_eval + 679
        73  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        74  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        75  libR.dylib                          0x000000010009d817 Rf_eval + 679
        76  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        77  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        78  libR.dylib                          0x000000010009d817 Rf_eval + 679
        79  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        80  libR.dylib                          0x000000010009e87c do_return + 140
        81  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        82  libR.dylib                          0x00000001000a1a3d forcePromise + 157
        83  libR.dylib                          0x000000010009d817 Rf_eval + 679
        84  libR.dylib                          0x000000010009db65 Rf_eval + 1525
        85  libR.dylib                          0x00000001000a2724 do_begin + 308
        86  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        87  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        88  libR.dylib                          0x000000010009d932 Rf_eval + 962
        89  libR.dylib                          0x000000010009fa55 do_set + 709
        90  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        91  libR.dylib                          0x00000001000a2724 do_begin + 308
        92  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        93  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        94  libR.dylib                          0x000000010009d932 Rf_eval + 962
        95  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        96  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        97  libR.dylib                          0x00000001000a2724 do_begin + 308
        98  libR.dylib                          0x000000010009da1c Rf_eval + 1196
        99  libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        100 libR.dylib                          0x000000010009d932 Rf_eval + 962
        101 libR.dylib                          0x00000001000a2724 do_begin + 308
        102 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        103 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        104 libR.dylib                          0x000000010009d932 Rf_eval + 962
        105 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        106 libR.dylib                          0x00000001000a2724 do_begin + 308
        107 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        108 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        109 libR.dylib                          0x000000010009d932 Rf_eval + 962
        110 libR.dylib                          0x000000010009fa55 do_set + 709
        111 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        112 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        113 libR.dylib                          0x00000001000a2724 do_begin + 308
        114 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        115 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        116 libR.dylib                          0x000000010009d932 Rf_eval + 962
        117 libR.dylib                          0x00000001000a1a3d forcePromise + 157
        118 libR.dylib                          0x000000010009d817 Rf_eval + 679
        119 libR.dylib                          0x000000010009db65 Rf_eval + 1525
        120 libR.dylib                          0x000000010009dfbc Rf_evalList + 92
        121 libR.dylib                          0x00000001000dfe91 do_internal + 449
        122 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        123 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        124 libR.dylib                          0x000000010009d932 Rf_eval + 962
        125 libR.dylib                          0x00000001000a2724 do_begin + 308
        126 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        127 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        128 libR.dylib                          0x000000010009d932 Rf_eval + 962
        129 libR.dylib                          0x00000001000a1a3d forcePromise + 157
        130 libR.dylib                          0x000000010009d817 Rf_eval + 679
        131 libR.dylib                          0x000000010009db65 Rf_eval + 1525
        132 libR.dylib                          0x00000001000a1a3d forcePromise + 157
        133 libR.dylib                          0x000000010009d817 Rf_eval + 679
        134 libR.dylib                          0x000000010009db65 Rf_eval + 1525
        135 libR.dylib                          0x00000001000a2724 do_begin + 308
        136 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        137 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        138 libR.dylib                          0x000000010009d932 Rf_eval + 962
        139 libR.dylib                          0x00000001000a2724 do_begin + 308
        140 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        141 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        142 libR.dylib                          0x000000010009d932 Rf_eval + 962
        143 libR.dylib                          0x00000001000cbb51 do_logic2 + 801
        144 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        145 libR.dylib                          0x000000010009dfbc Rf_evalList + 92
        146 libR.dylib                          0x000000010009dac7 Rf_eval + 1367
        147 libR.dylib                          0x00000001000cba84 do_logic2 + 596
        148 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        149 libR.dylib                          0x00000001000a34c5 do_if + 53
        150 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        151 libR.dylib                          0x00000001000a2724 do_begin + 308
        152 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        153 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        154 libR.dylib                          0x00000001000a2724 do_begin + 308
        155 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        156 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        157 libR.dylib                          0x000000010009d932 Rf_eval + 962
        158 libR.dylib                          0x000000010009fa55 do_set + 709
        159 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        160 libR.dylib                          0x00000001000a2724 do_begin + 308
        161 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        162 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        163 libR.dylib                          0x000000010009d932 Rf_eval + 962
        164 libR.dylib                          0x00000001000a2724 do_begin + 308
        165 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        166 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        167 libR.dylib                          0x00000001000a2724 do_begin + 308
        168 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        169 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        170 libR.dylib                          0x000000010009d932 Rf_eval + 962
        171 libR.dylib                          0x00000001000a1a3d forcePromise + 157
        172 libR.dylib                          0x000000010009d817 Rf_eval + 679
        173 libR.dylib                          0x000000010009db65 Rf_eval + 1525
        174 libR.dylib                          0x00000001000a1a3d forcePromise + 157
        175 libR.dylib                          0x000000010009d817 Rf_eval + 679
        176 libR.dylib                          0x000000010009db65 Rf_eval + 1525
        177 libR.dylib                          0x000000010009dfbc Rf_evalList + 92
        178 libR.dylib                          0x000000010009dac7 Rf_eval + 1367
        179 libR.dylib                          0x00000001000a34c5 do_if + 53
        180 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        181 libR.dylib                          0x00000001000a2724 do_begin + 308
        182 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        183 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        184 libR.dylib                          0x000000010009d932 Rf_eval + 962
        185 libR.dylib                          0x00000001000a2724 do_begin + 308
        186 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        187 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        188 libR.dylib                          0x00000001000a2724 do_begin + 308
        189 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        190 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        191 libR.dylib                          0x00000001000a2724 do_begin + 308
        192 libR.dylib                          0x000000010009da1c Rf_eval + 1196
        193 libR.dylib                          0x00000001000a0364 Rf_applyClosure + 724
        194 libR.dylib                          0x000000010009d932 Rf_eval + 962
        195 libR.dylib                          0x00000001000ce0b8 Rf_ReplIteration + 504
        196 libR.dylib                          0x00000001000ce3b1 R_ReplConsole + 161
        197 libR.dylib                          0x00000001000ce8c0 run_Rmainloop + 80
        198 R                                   0x0000000100000eeb main + 27
        199 R                                   0x0000000100000e74 start + 52
)
terminate called after throwing an instance of 'NSException'
Abort trap


--please do not edit the information below--

R Version:
 platform = i386-apple-darwin9.8.0
 arch = i386
 os = darwin9.8.0
 system = i386, darwin9.8.0
 status =
 major = 2
 minor = 11.1
 year = 2010
 month = 05
 day = 31
 svn rev = 52157
 language = R
 version.string = R version 2.11.1 (2010-05-31)

Locale:
fr_CH.UTF-8/en_US.UTF-8/C/C/fr_CH.UTF-8/fr_CH.UTF-8

Search Path:
 .GlobalEnv, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, package:methods, Autoloads, package:base

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list