Hi Jonathan. I tried installing the new RStudio but R crashed upon loading. I used RSwitch to go between my stable version (v4.0.3) and my development version of R (v4.1.0). 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).
When I select R v4.0.3 in RSwitch:
Process Output: The R session process exited with code 1. (No errors or output appear)
04 Mar 2021 22:17:34 [rsession-me] ERROR generic error 8 (Exec format error) [r-home: /Library/Frameworks/R.framework/Resources, r-archs: , rsession-archs: ]; 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
04 Mar 2021 22:18:45 [rsession-me] ERROR generic error 8 (Exec format error) [r-home: /Library/Frameworks/R.framework/Resources, r-archs: , rsession-archs: ]; 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
04 Mar 2021 22:58:27 [rsession-me] ERROR generic error 8 (Exec format error) [r-home: /Library/Frameworks/R.framework/Resources, r-archs: , rsession-archs: ]; 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
When I choose R v4.1-arm64 (v4.1.0), I get the following messages:
The R session process exited with code 6 .
ERRORS
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
04 Mar 2021 22:17:34 [rsession-me] ERROR generic error 8 (Exec format error) [r-home: /Library/Frameworks/R.framework/Resources, r-archs: , rsession-archs: ]; 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
04 Mar 2021 22:18:45 [rsession-me] ERROR generic error 8 (Exec format error) [r-home: /Library/Frameworks/R.framework/Resources, r-archs: , rsession-archs: ]; 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
04 Mar 2021 22:58:27 [rsession-me] ERROR generic error 8 (Exec format error) [r-home: /Library/Frameworks/R.framework/Resources, r-archs: , rsession-archs: ]; 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
I installed this by dragging the RStudio file into my Applications folder. Was this the right approach, or was there something elseI was supposed to do? (If so, could you point me toward a guide that I can follow?).
Thanks again for putting this version together! I look forward to trying it soon!