RStudio does not start anymore giving an error message "Error Starting R - The R session failed to start."

R Session Startup Failure Report

RStudio Version

RStudio 2023.06.1+524 "Mountain Hydrangea " (547dcf86, 2023-07-07) for windows

Description of issue -
RStudio does not start and reports " Error Starting R - The R session failed to start."

Attempted steps taken to fix -
I removed the previous version of R, and also the current one, and I installed the most recent one (3.1). I also removed RStudio and installed it again. The problem remains

System Information:

  • RStudio Edition: Desktop or Server
  • RStudio Version: RStudio 2023.06.1+524 "Mountain Hydrangea " (547dcf86, 2023-07-07) for windows
  • OS Version: Windows 10
  • R Version: 3.1
  • Output your diagnostics report (if possible):
    RStudio 2023.06.1+524 "Mountain Hydrangea " (547dcf86, 2023-07-07) for windows

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.06.1+524 Chrome/110.0.5481.208 Electron/23.3.0 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 3221225477.

Error output:

[13464:21800:20230724,12,0804.667:ERROR directory_reader_win.cc:43] FindFirstFile: Impossibile trovare il ,percorso specificato. (3)

Standard output:

[No output emitted]

Logs

C:/Users/Giulio/AppData/Local/RStudio/log/rsession-Giulio.log

) [errormsg: Error in exists(cacheKey, where = .rs.CachedDataEnv, inherits = FALSE) :
invalid first argument
]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::r::exec::`anonymous-namespace'::evaluateExpressionsUnsafe(struct SEXPREC *,struct SEXPREC *,struct SEXPREC **,class rstudio::r::sexp::Protect *,enum rstudio::r::exec::`anonymous-namespace'::EvalType) src/cpp/r/RExec.cpp:228; LOGGED FROM: class rstudio::core::Error __cdecl rstudio::session::modules::data::viewer::`anonymous-namespace'::getGridData(const class rstudio::core::http::Request &,class rstudio::core::http::Response *) C:\Users\jenkins\workspace\ide-os-windows\rel-mountain-hydrangea\src\cpp\session\modules\data\DataViewer.cpp:870


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

Have you tried resetting RStudio's state?

Also, just to clarify, the latest stable R version is 4.3.1

Many thanks, I reset the RStudio's state and now everything's fine: RStudio starts with no problem and works perfectly. Thanks again!

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