Hello,
I am having trouble opening RStudio. I just installed the newest version, which is the right one for my Computer. R works fine, but RStudio ist crashing immediately. I tried the following things already:
-
RStudio cannot find R : when I type " Sys.which("R") " into the R console, I get " "/usr/local/bin/R".
-
and I put this code into the terminal: defaults write com.rstudio.desktop $'desktop\xb7renderingEngine' 'software'
I would be sooo grateful if anyone could help me!
Here is the first part of the error code I get:
Process: RStudio [12114]
Path: /Applications/RStudio.app/Contents/MacOS/RStudio
Identifier: org.rstudio.RStudio
Version: 2022.02.2+485 (2022.02.2+485)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: RStudio [12114]
User ID: 501
Date/Time: 2022-05-19 15:00:30.343 +0200
OS Version: Mac OS X 10.15 (19A602)
Report Version: 12
Anonymous UUID: 411F2421-7C9F-1E31-6BFA-CA3D4C849D09
Sleep/Wake UUID: 057ACC78-E93D-4925-A73C-8B7F45DAB289
Time Awake Since Boot: 17000 seconds
Time Since Wake: 14 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [12114]
Application Specific Information:
/Applications/RStudio.app/Contents/MacOS/../Frameworks/libcrypto.1.1.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libcrypto.1.1.dylib 0x0000000112888a74 DYLD-STUB$$getenv + 0
1 dyld 0x00000001188337f8 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 990
2 dyld 0x0000000118833a5a ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3 dyld 0x000000011882e933 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 493
4 dyld 0x000000011882e89e ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 344
5 dyld 0x000000011882e89e ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 344
6 dyld 0x000000011882e89e ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 344
7 dyld 0x000000011882d69c ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 188
8 dyld 0x000000011882d73c ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 82
9 dyld 0x000000011881c4b2 dyld::initializeMainExecutable() + 199
10 dyld 0x0000000118821aab dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 6760
11 dyld 0x000000011881b227 dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 453
12 dyld 0x000000011881b025 _dyld_start + 37
Thread 1:
0 libsystem_pthread.dylib 0x00007fff6eb7e5b4 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00007fff6eb7e5b4 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000001188ae268 rbx: 0x000000011276e2e0 rcx: 0x00007ffee6306c90 rdx: 0x00007ffee6306c38
rdi: 0x00000001128b55c3 rsi: 0x00007ffee6306c28 rbp: 0x00007ffee6301860 rsp: 0x00007ffee6301838
r8: 0x00000001188ae330 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x00007fff9b939618 r13: 0x00007ffee63018e0 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x0000000112888a74 rfl: 0x0000000000010246 cr2: 0x00000001128fcb10
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 13
Binary Images:
0x1098f9000 - 0x109b98ffb +org.rstudio.RStudio (2022.02.2+485 - 2022.02.2+485) <0BEEC9FA-06F0-3231-A852-19BBD92DA917> /Applications/RStudio.app/Contents/MacOS/RStudio
0x109c08000 - 0x109c34ff3 +org.qt-project.QtWebEngine (5.12 - 5.12.10) /Applications/RStudio.app/Contents/Frameworks/QtWebEngine.framework/Versions/5/QtWebEngine
0x109c75000 - 0x109c94ff7 +org.qt-project.QtWebEngineWidgets (5.12 - 5.12.10)
Note: There is a lot more information on the binary images in the error code, I am just not allowed to put it all into this post
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 10852
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=742.4M resident=0K(0%) swapped_out_or_unallocated=742.4M(100%)
Writable regions: Total=559.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=559.0M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 8K 1
MALLOC 164.2M 18
MALLOC guard page 16K 4
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
PROTECTED_MEMORY 4K 1
STACK GUARD 56.0M 3
Stack 9232K 3
VM_ALLOCATE 56K 5
__DATA 43.0M 381
__DATA_CONST 388K 10
__FONT_DATA 4K 1
__LINKEDIT 356.6M 49
__OBJC_RO 31.8M 1
__OBJC_RW 1764K 2
__TEXT 385.9M 368
__UNICODE 564K 1
mapped file 28.0M 2
shared memory 48K 6
=========== ======= =======
TOTAL 1.4G 858
TOTAL, minus reserved VM space 1.1G 858
Model: MacBookPro14,1, BootROM 429.80.1.0.0, 2 processors, Dual-Core Intel Core i5, 2,3 GHz, 8 GB, SMC 2.43f11
Graphics: kHW_IntelIrisGraphics640Item, Intel Iris Plus Graphics 640, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x170), Broadcom BCM43xx 1.0 (7.77.105.1 AirPortDriverBrcmNIC-1429)
Bluetooth: Version 7.0.0f8, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4