Hello there,
My RStudio is not able to open, I was wondering if anyone will be able to help me fix this issue.
R Session Startup Failure Report
RStudio Version
RStudio 2022.12.0+353 "Elsbeth Geranium " (7d165dcf, 2022-12-03) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36
Error message
The R session had a fatal error.
2023-01-20T18:38:59.889776Z [rsession-macbookpro] ERROR r error 4 (Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||) [errormsg: Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||]; OCCURRED AT rstudio::core::Error rstudio::r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *, rstudio::r::exec::EvalFlags) src/cpp/r/RExec.cpp:375
2023-01-20T18:38:59.889776Z [rsession-macbookpro] ERROR r error 4 (Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||) [errormsg: Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||]; OCCURRED AT rstudio::core::Error rstudio::r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *, rstudio::r::exec::EvalFlags) src/cpp/r/RExec.cpp:375
Process Output
The R session exited with code 2.
Error output:
2023-01-20T18:38:59.889776Z [rsession-macbookpro] ERROR r error 4 (Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||) [errormsg: Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||]; OCCURRED AT rstudio::core::Error rstudio::r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *, rstudio::r::exec::EvalFlags) src/cpp/r/RExec.cpp:375
Standard output:
[No output emitted]
Logs
/Users/macbookpro/.local/share/rstudio/log/rsession-macbookpro.log
]; OCCURRED AT rstudio::core::Error rstudio::r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *, rstudio::r::exec::EvalFlags) src/cpp/r/RExec.cpp:375; LOGGED FROM: int rstudio::r::session::RReadConsole(const char *, CONSOLE_BUFFER_CHAR *, int, int) src/cpp/r/session/RStdCallbacks.cpp:299
2023-01-20T18:38:59.889890Z [rsession-macbookpro] ERROR R SUICIDE: 2023-01-20T18:38:59.889776Z [rsession-macbookpro] ERROR r error 4 (Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||) [errormsg: Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||]; OCCURRED AT rstudio::core::Error rstudio::r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *, rstudio::r::exec::EvalFlags) src/cpp/r/RExec.cpp:375; LOGGED FROM: void (anonymous namespace)::rSuicide(const std::string &) src/cpp/session/SessionMain.cpp:1241
2023-01-20T18:38:59.889890Z [rsession-macbookpro] ERROR R SUICIDE: 2023-01-20T18:38:59.889776Z [rsession-macbookpro] ERROR r error 4 (Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||) [errormsg: Error : .onLoad failed in loadNamespace() for 'utils', details:||| call: switch(os, Linux = if (file.exists("/etc/os-release")) {||| error: EXPR must be a length 1 vector|||]; OCCURRED AT rstudio::core::Error rstudio::r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *, rstudio::r::exec::EvalFlags) src/cpp/r/RExec.cpp:375; LOGGED FROM: void (anonymous namespace)::rSuicide(const std::string &) src/cpp/session/SessionMain.cpp:1241