Error Starting RStudio, help will be much appreciated!

Error Information:

Description of issue -

I am unable to start RStudio but I am not sure what the error is.

Attempted steps taken to fix -
I have uninstalled and reinstalled both R and RStudio twice, but nothing's worked.

System Information:

  • RStudio Edition: (Desktop or Server) Desktop
  • RStudio Version: 2023.12.1+402
  • OS Version: MacBook Pro Apple M1 macOS Sonoma Version 14.2.1
  • R Version: 4.3.3
  • Output your diagnostics report (if possible):

R Session Startup Failure Report

RStudio Version

RStudio 2023.12.1+402 "Ocean Storm " (4da58325, 2024-01-29) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.12.1+402 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 1.

Error output:

[No errors emitted]

Standard output:

[No output emitted]

Logs

/Users/efflorescer/.local/share/rstudio/log/rsession-efflorescer.log

2024-03-14T14:43:42.328071Z [rsession-efflorescer] ERROR CLIENT EXCEPTION (rsession-efflorescer): (TypeError) : Cannot read properties of undefined (reading 'w');|||org/rstudio/studio/client/workbench/views/output/lint/LintManager.java#86::isLintableDocument|||org/rstudio/studio/client/workbench/views/output/lint/LintManager.java#115::run|||com/google/gwt/user/client/Timer.java#124::fire|||rstudio-0.js#-1::eval|||com/google/gwt/core/client/impl/Impl.java#306::apply|||com/google/gwt/core/client/impl/Impl.java#345::entry0|||rstudio-0.js#-1::eval|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.09.1+494 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36
2024-03-14T14:43:53.070307Z [rsession-efflorescer] WARNING Error replaying plots: cannot open the connection|||cannot open the connection|||Warning messages:|||1: In readChar(con, 5L, useBytes = TRUE) :|||  cannot open compressed file '/Users/efflorescer/.local/share/rstudio/notebooks/9137C21B-allassignments/1/D1ECDD985b459817/cgrng1725zqab/000010.snapshot', probable reason 'No such file or directory'|||2: In readChar(con, 5L, useBytes = TRUE) :|||  cannot open compressed file '/Users/efflorescer/.local/share/rstudio/notebooks/9137C21B-allassignments/1/D1ECDD985b459817/cbpj1smyykfxv/000010.snapshot', probable reason 'No such file or directory'
2024-03-14T14:43:53.070307Z [rsession-efflorescer] WARNING Error replaying plots: cannot open the connection|||cannot open the connection|||Warning messages:|||1: In readChar(con, 5L, useBytes = TRUE) :|||  cannot open compressed file '/Users/efflorescer/.local/share/rstudio/notebooks/9137C21B-allassignments/1/D1ECDD985b459817/cgrng1725zqab/000010.snapshot', probable reason 'No such file or directory'|||2: In readChar(con, 5L, useBytes = TRUE) :|||  cannot open compressed file '/Users/efflorescer/.local/share/rstudio/notebooks/9137C21B-allassignments/1/D1ECDD985b459817/cbpj1smyykfxv/000010.snapshot', probable reason 'No such file or directory'


From RStudio Desktop Will Not Start on support.rstudio.com

Does R start from a GUI or terminal? If so, try Resetting RStudio Desktop's State](https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State)

1 Like

It starts from a GUI! And I tried to reset the desktop state as per your link, and it works! I can start my RStudio now. Thank you so so much!

This topic was automatically closed 7 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.