New Mac User - Opening r studio using Rosetta

Hi, sorry if this is a poorly written question, but I am a new Mac user and am relatively new to R.

I just got a new computer with the M3 chip. I downloaded the most recent version of R, then R studio. When I opened R studio, I was told to download Rosetta, and use Rosetta to open R Studio. After doing both, I now cannot use R studio.

Thank you for any help!

This is the error report --> ## R Session Startup Failure Report

RStudio Version

RStudio 2024.04.2+764 "Chocolate Cosmos " (e4392fc9, 2024-06-05) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.04.2+764 Chrome/120.0.6099.291 Electron/28.3.1 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 1.

Error output:

dyld[2901]: terminating because inserted dylib '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' could not be loaded: tried: '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/3m/s8m9lyts4xbd4hxrxwv2k3lr0000gn/T/rstudio-fallback-library-path-994083788/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/3m/s8m9lyts4xbd4hxrxwv2k3lr0000gn/T/rstudio-fallback-library-path-994083788/libR.dylib' (no such file)
dyld[2901]: tried: '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/3m/s8m9lyts4xbd4hxrxwv2k3lr0000gn/T/rstudio-fallback-library-path-994083788/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/3m/s8m9lyts4xbd4hxrxwv2k3lr0000gn/T/rstudio-fallback-library-path-994083788/libR.dylib' (no such file)

Standard output:

[No output emitted]

Logs

Log File

[No logs available]

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:
  • Output your diagnostics report (if possible):

From RStudio Desktop Will Not Start on support.rstudio.com

Did you install the x86_64 version of R? If yes, for that you indeed need Rosetta. Try installing the arm64 build of R.

1 Like