RStudio opening infinite windows

Hello! I am having issue trying to run RStudio after I had linked RStudio to my Git/GitHub account. Every time I open RStudio it will spam open separate windows infinitely. The only way to make it stop is to reset my computer. I am unable to access RStudio as each window that opens will remain blank. I have deleted my SSH code from my computer, uninstalled and reinstalled RStudio. Unfortunately, this issue keeps repeating.

A person had a similar situation here Issue with Opening RStudio - Opens Infinite Windows
This string did not have helpful info as I am unable to create a reprex as I cannot access RStudio information via the console.

RStudio: 2025.05.0+496
R for Windows: 4.5.0
Git: 2.49.0

If anyone as any ideas or advice, I would greatly appreciate the help. I will continue to attempt solving this issue and post any new findings.
Thank you!

Does resetting RStudio's state help?

What I have done so far:
Resetting RStudio's state - I deleted RStudio directory in hopes it would create a new one when opening the app. This did not solve my problem, and continued to open infinite windows.

I then tried using ctrl while opening r to try opening it in safe mode, which did not help either.

However! during it's long looping of opening windows I was able to terminate the program in which this report screen popped up. This is what it spit out:

R Session Startup Failure Report

RStudio Version

RStudio 2025.05.0+496 "Mariposa Orchid " (f0b76cc0, 2025-05-04) for windows

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2025.05.0+496 Chrome/132.0.6834.210 Electron/34.5.1 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

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

2025-06-04T18:13:02.339208Z [rsession-2061602] WARNING Abort requested; LOGGED FROM: bool __cdecl rstudio::session::connection::checkForAbort(class rstudio_boost::shared_ptr<class rstudio::session::HttpConnection>,const class rstudio_boost::function<void __cdecl(void)>) C:\Users\jenkins\workspace\ide-os-windows\rel-mariposa-orchid\src\cpp\session\http\SessionHttpConnectionUtils.cpp:135
2025-06-04T18:17:03.982196Z [rsession-2061602] WARNING Abort requested; LOGGED FROM: bool __cdecl rstudio::session::connection::checkForAbort(class rstudio_boost::shared_ptr<class rstudio::session::HttpConnection>,const class rstudio_boost::function<void __cdecl(void)>) C:\Users\jenkins\workspace\ide-os-windows\rel-mariposa-orchid\src\cpp\session\http\SessionHttpConnectionUtils.cpp:135
2025-06-04T18:17:03.982196Z [rsession-2061602] WARNING Abort requested; LOGGED FROM: bool __cdecl rstudio::session::connection::checkForAbort(class rstudio_boost::shared_ptr<class rstudio::session::HttpConnection>,const class rstudio_boost::function<void __cdecl(void)>) C:\Users\jenkins\workspace\ide-os-windows\rel-mariposa-orchid\src\cpp\session\http\SessionHttpConnectionUtils.cpp:135

I am unfortunately only a beginner in R and do not understand the language, therefor cannot decipher what the error is.

Unfortunately, I don't see anything in the output beyond the fact that you aborted the run.

You said you linked RStudio to git and GitHub. Did you link it to a specific .git folder on your PC? If so, you might try hiding that folder or deleting it (after backing it up, of course) and see if that lets you open RStudio.

I have deleted Git from my computer entirely, in hopes the loop was caught somewhere in there. Unfortunately, no luck again. I then reset RStudio's state again and uninstalled and reinstalled RStudio. I am no longer interested in having Git work with RStudio, I just want RStudio to be able to run. However, I keep running back into this same bug.

Here's a couple more things to try. First, if there is a file named .RData in your home directory, delete it. Second, try running the RStudio executable file from a DOS prompt. The hope here is that an informative message will accidentally get printed. (You may also get some error messages relating to display configuration, which in my experience are typically harmless.)

1 Like

One more thing to try, based on this error: can you open R directly (from the command line or with Rgui)?

If R starts correctly by itself, you can also try opening RStudio in another project (download any known working project, like dplyr for example, and doubleclick on the dplyr.Rproj file to open RStudio with this project's settings).

Update: I was unable to have success with opening RStudio with executable file from DOS prompt, no success using RGui or opening a downloaded project. I however let my computer load while it had its infinite loops for about 10 minutes. I then was successfully able to load RStudio. However there is still a corrupted version of R in the background. The window opening is finite after several minutes of loading.

Follow-up to @AlexisW's question: if you just run R (no RStudio) from a command prompt, does it run without any drama?

1 Like