RStudio and R will not start on Mac M1 OS X Monterey

Hi everyone,

Not sure if anyone else is still having problems, but I was able to find a solution to this issue.

Many thanks to this person for figuring it out. Basically, move the application and define a symbolic link, and try opening RStudio. If opening fails, execute the last line of code as stated in the comment. Who knew it was this simple?

cd /Applications/Rstudio.app/Contents/MacOS
mv rsession rsession-x86
ln -s rsession-arm64 rsession
# Open RStudio and if it fails then run this:
xattr -r -d com.apple.quarantine /Applications/RStudio.app