The latest RStudio update is not working in a corporate environment. I believe this is due to the recent RStudio AI update. I'm updating from 2025.09.0-387
R Session Startup Failure Report
RStudio Version
RStudio 2026.04.0+526 "Globemaster Allium " (57f8932a, 2026-04-18) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2026.04.0+526 Chrome/142.0.7444.265 Electron/39.8.7 Safari/537.36
If I had to guess, I think this is because RStudio AI may be trying to create a network connection that our firewall is blocking. If I reinstall the old version of RStudio, that version will work.
Thanks for the help. I did try that. This what AI is telling me,
"After clearing all RStudio user state, RStudio still fails before launching R. Logs show Electron renderer and localhost server startup failures (ERR_CONNECTION_RESET, Object has been destroyed). Even the local static error UI cannot render. This indicates the RStudio Desktop runtime itself is being terminated (Electron crash / security interference / corrupt install), not a project, R, or OneDrive issue."
If that's true, there's likely some sort of corporate security software on my machine that's killing the R process for some reason. For now I'll use either an older version of RStudio and Visual Studio Code. Hopefully there'll be a workaround in the future.
Being blocked by a security layer is a possibility. Regarding the AI Assistant, I upgraded to Build 526 a while ago. It has a toolbar button for the assistant, but the assistant itself is not installed. So unless you explicitly installed the assistant, that's not the culprit.
I also had a similar error, when I tried to open an existing R project that utilizes renv and thus contains .Rprofile. The error page suggested to Remove startup customizations such as an .Rprofile file, if present. and if I remove that .Rprofile I can open the project, but it means that I have to re-initialize the renv of the project.
R Session Startup Failure Report
RStudio Version
RStudio 2026.04.0+526 "Globemaster Allium " (57f8932a, 2026-04-18) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2026.04.0+526 Chrome/142.0.7444.265 Electron/39.8.7 Safari/537.36
FYI, downgrading the version of RStudio (2026.04.0 -> 2026.01.2) along with R (4.6.0 -> 4.5.3) also resolved the error without removing .Rprofile, so it seems that there's something wrong with the current versions.