


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 ERRORSĭyld: could not load inserted library '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' because no suitable image found.
#Rstudio apple silicon code
The R session process exited with code 6. When I choose R v4.1-arm64 (v4.1.0), I get the following messages: 22:58:27 ERROR generic error 8 (Exec format error) OCCURRED AT rstudio::core::Error rstudio::r::session::(anonymous namespace)::validateCompatible(const std::string &) src/cpp/r/session/RSession.cpp:270 LOGGED FROM: int main(int, char *const *) src/cpp/session/SessionMain.cpp:2200 22:18:45 ERROR generic error 8 (Exec format error) OCCURRED AT rstudio::core::Error rstudio::r::session::(anonymous namespace)::validateCompatible(const std::string &) src/cpp/r/session/RSession.cpp:270 LOGGED FROM: int main(int, char *const *) src/cpp/session/SessionMain.cpp:2200 22:17:34 ERROR generic error 8 (Exec format error) OCCURRED AT rstudio::core::Error rstudio::r::session::(anonymous namespace)::validateCompatible(const std::string &) src/cpp/r/session/RSession.cpp:270 LOGGED FROM: int main(int, char *const *) src/cpp/session/SessionMain.cpp:2200

Process Output: The R session process exited with code 1. This is the same approach I take with the stable version of RStudio (which runs R v4.0.3, but clearly not v4.1-arm64-though the latest dev version of R GUI does). I used RSwitch to go between my stable version (v4.0.3) and my development version of R (v4.1.0). I tried installing the new RStudio but R crashed upon loading.
