Error Starting RStudio, any help much appreciated :)

Maybe someone can help me with this..I am now puzzling for some hours what could have gone wrong.

Until three days ago I was working with R without any issues. Today I tried to open R Studio, but I keep getting an Error notification 'Error Starting R'.

I uninstalled R and R Studio and reinstalled both of them. Additionally, I renamed the rstudio-desktop (and thereby resetted the RStudio state?). I also checked the R & RStudio File locations, both are stored within the same file path.

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: RStudio 2022.12.0+353 "Elsbeth Geranium " (7d165dcf, 2022-12-03) for Windows
  • Windows 10 Enterprise N LTSC; Version 1809
  • R Version: 4.2.2
  • Output your diagnostics report:

R Session Startup Failure Report

RStudio Version

RStudio 2022.12.0+353 "Elsbeth Geranium " (7d165dcf, 2022-12-03) for Windows

Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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

[No error available]

Process Output

The R session exited with code 3221225477.

Error output:

[No errors emitted]

Standard output:

[No output emitted]

Logs

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

2023-01-02T14:11:26.833350Z [rsession-linus] ERROR system error 5 (Access is denied); OCCURRED AT auto __cdecl rstudio::core::system::ChildProcess::terminate::<lambda_0837bcc20cbf20264fbd4fbbbf2e36d5>::operator ()(void) const src/cpp/core/system/Win32ChildProcess.cpp:294; LOGGED FROM: void __cdecl rstudio::core::system::ProcessSupervisor::terminateAll(void) src/cpp/core/system/Process.cpp:379
2023-01-02T14:11:26.833350Z [rsession-linus] ERROR system error 5 (Access is denied); OCCURRED AT auto __cdecl rstudio::core::system::ChildProcess::terminate::<lambda_0837bcc20cbf20264fbd4fbbbf2e36d5>::operator ()(void) const src/cpp/core/system/Win32ChildProcess.cpp:294; LOGGED FROM: void __cdecl rstudio::core::system::ProcessSupervisor::terminateAll(void) src/cpp/core/system/Process.cpp:379

Any help is much appreciated!
Best,
Linus

Indicates that RStudio attempted to open R, as it must, but the user under which it was running lacked permission to execute the R program. Because the OS is Windows I can’t say why.

Thanks for your reply, I'll update this once I find out what the error was about.

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.