Rstudio error starting in Mac M1

I met trouble regarding "Error starting R". Are there some ways for fixing it?
Below is the error message.
The R session process exited with code 6 .
dyld: could not load inserted library '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' because no suitable image found. Did find:
/Library/Frameworks/R.framework/Resources/lib/libR.dylib: mach-o, but wrong architecture
/Library/Frameworks/R.framework/Resources/lib/libR.dylib: stat() failed with errno=1

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.