I have RStudio since so many years and now it doesn't work. It doesn't even open well. It was working well and at the drop of a hat it has this error when opening:
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/davidgutierrez/.local/share/rstudio/log/rsession-davidgutierrez.log
2024-03-01T22:12:01.982036Z [rsession-davidgutierrez] ERROR CLIENT EXCEPTION (rsession-davidgutierrez): (TypeError) : Cannot read properties of undefined (reading 'values');|||org/rstudio/studio/client/workbench/prefs/model/Prefs.java#159::getGlobalValue|||org/rstudio/studio/client/workbench/prefs/model/Prefs.java#159::getGlobalValue|||org/rstudio/studio/client/workbench/views/source/SourceColumnManager.java#340::onInit|||org/rstudio/studio/client/workbench/views/source/SourceColumnManager.java#340::onInit|||org/rstudio/studio/client/workbench/model/helper/ClientStateValue.java#66::finishInit|||org/rstudio/studio/client/workbench/model/helper/ClientStateValue.java#52::ClientStateValue|||org/rstudio/studio/client/workbench/model/helper/JSObjectStateValue.java#24::JSObjectStateValue|||rstudio-0.js#-1::new fIt|||rstudio-0.js#-1::new _Ft|||org/rstudio/studio/client/workbench/views/source/org_rstudio_studio_client_RStudioGinjector_RStudioGinjectorGinjector_fragment.java#157::get_Key$type$org$rstudio$studio$client$workbench$views$source$SourceColumnManager$_annotation$none$|||org/rstudio/studio/client/workbench/views/source/org_rstudio_studio_client_RStudioGinjector_RStudioGinjectorGinjector_fragment.java#175::get_Key$type$org$rstudio$studio$client$workbench$views$source$Source$_annotation$none$|||org/rstudio/studio/client/application/ApplicationQuit.java#122::prepareForQuit|||org/rstudio/studio/client/application/ApplicationQuit.java#547::onQuitSession|||org/rstudio/studio/client/application/ApplicationQuit_Binder__Impl.java#19::onCommand|||org/rstudio/core/client/command/CommandEvent.java#40::dispatch|||com/google/web/bindery/event/shared/SimpleEventBus.java#173::doFire|||com/google/gwt/event/shared/HandlerManager.java#117::fireEvent|||org/rstudio/core/client/command/AppCommand.java#155::doExecute|||org/rstudio/core/client/command/AppCommand.java#149::execute|||org/rstudio/studio/client/application/DesktopHooks.java#196::quitR|||rstudio-0.js#-1::quitR|||<anonymous>#-1::anonymous|||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-01T22:12:01.984083Z [rsession-davidgutierrez] ERROR CLIENT EXCEPTION (rsession-davidgutierrez): (TypeError) : Cannot read properties of undefined (reading 'values');|||org/rstudio/studio/client/workbench/prefs/model/Prefs.java#159::getGlobalValue|||org/rstudio/studio/client/workbench/prefs/model/Prefs.java#159::getGlobalValue|||org/rstudio/studio/client/workbench/views/source/SourceColumnManager.java#340::onInit|||org/rstudio/studio/client/workbench/views/source/SourceColumnManager.java#340::onInit|||org/rstudio/studio/client/workbench/model/helper/ClientStateValue.java#66::finishInit|||org/rstudio/studio/client/workbench/model/helper/ClientStateValue.java#52::ClientStateValue|||org/rstudio/studio/client/workbench/model/helper/JSObjectStateValue.java#24::JSObjectStateValue|||rstudio-0.js#-1::new fIt|||rstudio-0.js#-1::new _Ft|||org/rstudio/studio/client/workbench/views/source/org_rstudio_studio_client_RStudioGinjector_RStudioGinjectorGinjector_fragment.java#157::get_Key$type$org$rstudio$studio$client$workbench$views$source$SourceColumnManager$_annotation$none$|||org/rstudio/studio/client/workbench/views/source/org_rstudio_studio_client_RStudioGinjector_RStudioGinjectorGinjector_fragment.java#175::get_Key$type$org$rstudio$studio$client$workbench$views$source$Source$_annotation$none$|||org/rstudio/studio/client/application/ApplicationQuit.java#122::prepareForQuit|||org/rstudio/studio/client/application/ApplicationQuit.java#547::onQuitSession|||org/rstudio/studio/client/application/ApplicationQuit_Binder__Impl.java#19::onCommand|||org/rstudio/core/client/command/CommandEvent.java#40::dispatch|||com/google/web/bindery/event/shared/SimpleEventBus.java#173::doFire|||com/google/gwt/event/shared/HandlerManager.java#117::fireEvent|||org/rstudio/core/client/command/AppCommand.java#155::doExecute|||org/rstudio/core/client/command/AppCommand.java#149::execute|||org/rstudio/studio/client/application/DesktopHooks.java#196::quitR|||rstudio-0.js#-1::quitR|||<anonymous>#-1::anonymous|||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-01T22:12:01.984083Z [rsession-davidgutierrez] ERROR CLIENT EXCEPTION (rsession-davidgutierrez): (TypeError) : Cannot read properties of undefined (reading 'values');|||org/rstudio/studio/client/workbench/prefs/model/Prefs.java#159::getGlobalValue|||org/rstudio/studio/client/workbench/prefs/model/Prefs.java#159::getGlobalValue|||org/rstudio/studio/client/workbench/views/source/SourceColumnManager.java#340::onInit|||org/rstudio/studio/client/workbench/views/source/SourceColumnManager.java#340::onInit|||org/rstudio/studio/client/workbench/model/helper/ClientStateValue.java#66::finishInit|||org/rstudio/studio/client/workbench/model/helper/ClientStateValue.java#52::ClientStateValue|||org/rstudio/studio/client/workbench/model/helper/JSObjectStateValue.java#24::JSObjectStateValue|||rstudio-0.js#-1::new fIt|||rstudio-0.js#-1::new _Ft|||org/rstudio/studio/client/workbench/views/source/org_rstudio_studio_client_RStudioGinjector_RStudioGinjectorGinjector_fragment.java#157::get_Key$type$org$rstudio$studio$client$workbench$views$source$SourceColumnManager$_annotation$none$|||org/rstudio/studio/client/workbench/views/source/org_rstudio_studio_client_RStudioGinjector_RStudioGinjectorGinjector_fragment.java#175::get_Key$type$org$rstudio$studio$client$workbench$views$source$Source$_annotation$none$|||org/rstudio/studio/client/application/ApplicationQuit.java#122::prepareForQuit|||org/rstudio/studio/client/application/ApplicationQuit.java#547::onQuitSession|||org/rstudio/studio/client/application/ApplicationQuit_Binder__Impl.java#19::onCommand|||org/rstudio/core/client/command/CommandEvent.java#40::dispatch|||com/google/web/bindery/event/shared/SimpleEventBus.java#173::doFire|||com/google/gwt/event/shared/HandlerManager.java#117::fireEvent|||org/rstudio/core/client/command/AppCommand.java#155::doExecute|||org/rstudio/core/client/command/AppCommand.java#149::execute|||org/rstudio/studio/client/application/DesktopHooks.java#196::quitR|||rstudio-0.js#-1::quitR|||<anonymous>#-1::anonymous|||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