R Session Startup Failure Report
RStudio Version
RStudio 2021.09.0+351, "Ghost Orchid" (077589bc, 2021-09-20) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 12_1_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 6.
Error output:
dyld[32030]: terminating because inserted dylib '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' could not be loaded: tried: '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/vincentleonardo/lib/libR.dylib' (no such file), '/usr/local/lib/libR.dylib' (no such file), '/usr/lib/libR.dylib' (no such file), '/lib/libR.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/x1/zp6kq1kj15v_md17wpr_q_n40000gn/T/rstudio-fallback-library-path-DYeW7L/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/vincentleonardo/lib/libR.dylib' (no such file), '/usr/local/lib/libR.dylib' (no such file), '/usr/lib/libR.dylib' (no such file), '/lib/libR.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/x1/zp6kq1kj15v_md17wpr_q_n40000gn/T/rstudio-fallback-library-path-DYeW7L/libR.dylib' (no such file)
dyld[32030]: tried: '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/vincentleonardo/lib/libR.dylib' (no such file), '/usr/local/lib/libR.dylib' (no such file), '/usr/lib/libR.dylib' (no such file), '/lib/libR.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/x1/zp6kq1kj15v_md17wpr_q_n40000gn/T/rstudio-fallback-library-path-DYeW7L/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/vincentleonardo/lib/libR.dylib' (no such file), '/usr/local/lib/libR.dylib' (no such file), '/usr/lib/libR.dylib' (no such file), '/lib/libR.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/x1/zp6kq1kj15v_md17wpr_q_n40000gn/T/rstudio-fallback-library-path-DYeW7L/libR.dylib' (no such file)
Standard output:
[No output emitted]
Logs
/Users/vincentleonardo/.local/share/rstudio/log/rsession-vincentleonardo.log
03 Nov 2021 04:51:24 [rsession-vincentleonardo] ERROR system error 2 (No such file or directory) [path: /Users/vincentleonardo/Documents/SUTD/2021 SUTD/2021 Term 6/2021-09 50.038 Computational Data Science (CDS)/202109CDSProject/CDS-Project-2021/.Rproj.user/shared/notebooks/63D349F1-indo_climate_visualisations/1/FC02580D95510BF8/cpe1f7kffryih/000004.csv]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForWrite(std::shared_ptr<std::ostream> &, bool) const src/cpp/shared_core/FilePath.cpp:1485; LOGGED FROM: void rstudio::session::modules::rmarkdown::notebook::ChunkExecContext::onConsoleText(int, const std::string &, bool, bool) src/cpp/session/modules/rmarkdown/NotebookExec.cpp:438
03 Nov 2021 04:51:24 [rsession-vincentleonardo] ERROR system error 2 (No such file or directory) [path: /Users/vincentleonardo/Documents/SUTD/2021 SUTD/2021 Term 6/2021-09 50.038 Computational Data Science (CDS)/202109CDSProject/CDS-Project-2021/.Rproj.user/shared/notebooks/63D349F1-indo_climate_visualisations/1/FC02580D95510BF8/cpe1f7kffryih/000004.csv]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForWrite(std::shared_ptr<std::ostream> &, bool) const src/cpp/shared_core/FilePath.cpp:1485; LOGGED FROM: void rstudio::session::modules::rmarkdown::notebook::ChunkExecContext::onConsoleText(int, const std::string &, bool, bool) src/cpp/session/modules/rmarkdown/NotebookExec.cpp:438
03 Nov 2021 04:51:24 [rsession-vincentleonardo] ERROR system error 2 (No such file or directory) [path: /Users/vincentleonardo/Documents/SUTD/2021 SUTD/2021 Term 6/2021-09 50.038 Computational Data Science (CDS)/202109CDSProject/CDS-Project-2021/.Rproj.user/shared/notebooks/63D349F1-indo_climate_visualisations/1/FC02580D95510BF8/cpe1f7kffryih/000004.csv]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForWrite(std::shared_ptr<std::ostream> &, bool) const src/cpp/shared_core/FilePath.cpp:1485; LOGGED FROM: void rstudio::session::modules::rmarkdown::notebook::ChunkExecContext::onConsoleText(int, const std::string &, bool, bool) src/cpp/session/modules/rmarkdown/NotebookExec.cpp:438
Tried to delete R and RStudio and even installing previous versions of RStudio to no avail. I need this fixed pronto.