R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (64-bit) 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. > if(identical(getOption('pager'), file.path(R.home('bin'), 'pager'))) options(pager='cat') # rather take the ESS one > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE) > search() [1] ".GlobalEnv" "ESSR" "package:stats" [4] "package:graphics" "package:grDevices" "package:utils" [7] "package:datasets" "package:methods" "Autoloads" [10] "package:base" > library(rgl) > search() [1] ".GlobalEnv" "package:rgl" "ESSR" [4] "package:stats" "package:graphics" "package:grDevices" [7] "package:utils" "package:datasets" "package:methods" [10] "Autoloads" "package:base" > dev.cur() null device 1 > plot3d(1:5,6:8,9:12) > ## plot appears > dev.cur() null device 1 > plot(1:10) > Process R:2 abort trap: 6 at Fri May 29 14:01:31 2020 2020-05-29 14:01:31.083 R[25619:3307403] *** Assertion failure in BOOL NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 2020-05-29 14:01:31.214 R[25619:3307403] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSScreen reconfig must only happen on the main thread.' *** First throw call stack: ( 0 CoreFoundation 0x00007fff371698d7 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x00007fff6ff47a9e objc_exception_throw + 48 2 CoreFoundation 0x00007fff37192bb0 +[NSException raise:format:arguments:] + 88 3 Foundation 0x00007fff398de456 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166 4 AppKit 0x00007fff34503083 +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + 361 5 AppKit 0x00007fff34e4bda8 _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 6 AppKit 0x00007fff34502c85 -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 7 AppKit 0x00007fff345024dc _NSCGSDockMessageReceive + 268 8 HIToolbox 0x00007fff35d34a3c _ZL12DockCallbackjjPvS_ + 1987 9 HIServices 0x00007fff3539c8ec dockClientNotificationProc + 217 10 SkyLight 0x00007fff6626f174 _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 1002 11 SkyLight 0x00007fff6626de71 CGSSnarfAndDispatchDatagrams + 1671 12 SkyLight 0x00007fff6649d5a5 SLSGetNextEventRecordInternal + 83 13 SkyLight 0x00007fff6633bfbe SLEventCreateNextEvent + 136 14 libXplugin.1.dylib 0x00000001054c7f0c ___xp_init_service_cg_event_port_block_invoke + 104 15 libdispatch.dylib 0x00007fff7108d658 _dispatch_client_callout + 8 16 libdispatch.dylib 0x00007fff7108f818 _dispatch_continuation_pop + 414 17 libdispatch.dylib 0x00007fff7109f4be _dispatch_source_invoke + 2084 18 libdispatch.dylib 0x00007fff71092af6 _dispatch_lane_serial_drain + 263 19 libdispatch.dylib 0x00007fff710935d6 _dispatch_lane_invoke + 363 20 libdispatch.dylib 0x00007fff7109cc09 _dispatch_workloop_worker_thread + 596 21 libsystem_pthread.dylib 0x00007fff712eba3d _pthread_wqthread + 290 22 libsystem_pthread.dylib 0x00007fff712eab77 start_wqthread + 15 ) libc++abi.dylib: terminating with uncaught exception of type NSException R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (64-bit) 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. > > if(identical(getOption('pager'), file.path(R.home('bin'), 'pager'))) options(pager='cat') # rather take the ESS one > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE) > library(rgl) > plot3d(1:5,6:8,9:12) > search() [1] ".GlobalEnv" "package:rgl" "ESSR" [4] "package:stats" "package:graphics" "package:grDevices" [7] "package:utils" "package:datasets" "package:methods" [10] "Autoloads" "package:base" > rgl.quit() > ## device vanished > search() [1] ".GlobalEnv" "ESSR" "package:stats" [4] "package:graphics" "package:grDevices" "package:utils" [7] "package:datasets" "package:methods" "Autoloads" [10] "package:base" > ## rgl not in search list > library(rgl) Selection: 1 Process R:2 segmentation fault: 11 at Fri May 29 14:04:00 2020 R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (64-bit) 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. > > if(identical(getOption('pager'), file.path(R.home('bin'), 'pager'))) options(pager='cat') # rather take the ESS one > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE) > library(rgl) > search() [1] ".GlobalEnv" "package:rgl" "ESSR" [4] "package:stats" "package:graphics" "package:grDevices" [7] "package:utils" "package:datasets" "package:methods" [10] "Autoloads" "package:base" > plot3d(1:5,6:8,9:12) > rgl.quit() > search() [1] ".GlobalEnv" "ESSR" "package:stats" [4] "package:graphics" "package:grDevices" "package:utils" [7] "package:datasets" "package:methods" "Autoloads" [10] "package:base" > library(rgl) Selection: 0 Selection: 0 Selection: 1 Process R:2 segmentation fault: 11 at Fri May 29 14:06:01 2020