Error: arch: Unknown architecture: arm64

Hello all,
I am new to this type of work and I am a student trying to learn it. Following the instructions, I have downloaded the base R and the Rstudio; however, when I open a file with the program, an error pops up.
R Session Startup Failure Report

RStudio Version

RStudio 1.4.1717, "Juliet Rose" (df86b69e, 2021-05-24) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 11_4_0) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 1.

Error output:

arch: Unknown architecture: arm64

Standard output:

[No output emitted]

Logs

Log File

[No logs available]

I really have no idea where to start. Any help will be greatly appreciated.

I had this same issue. I think there is a problem with the Big Sur update to the R package (arm64 package). I removed all R and R studio files from the applications folder and emptied the trash. Then I downloaded the prior version (High Sierra and above, 4.1.0) from the cran repository (R for macOS), installed it and then tried to reinstall the R Studio download. It opened up fine.

Not sure what Arm64 is, but R Studio wasn't a fan. Hope it works for you!

From mac.r-project.org:

Important: The big-sur builds are compatible with the M1 arm-based Macs only. Intel Macs are supported by the high-sierra build which works on any macOS >=10.13 including Big Sur.