You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No idea how to create a reproducible example for this unless you're going to force me create two empty repositories with project files in them.
System details
RStudio Edition : Desktop
RStudio Version : 2026.05.1 Build 225
OS Version : Windows 11 Pro 25H2
R Version : 4.5.2
Steps to reproduce the problem
Switch projects by clicking dropdown in upper right corner
Describe the problem in detail
I updated RStudio. Now, I get the spinning circle when I try to switch projects. Then, I have to terminate the IDE through task manager else I get two spinning circles if I try to close the program through RStudio. When I reopen the IDE, the project that I wanted to switch to is open. If I try to switch through the File menu, it hangs. I've restarted my computer and the problem persists.
Sorry you are experiencing this problem. I have not been able to reproduce it so far, using the same version of RStudio and R, on Windows-11 Pro 25H2.
Some steps (and questions) that might help me narrow in on the problem:
Diagnostics Report
First, please generate a diagnostics report via Help > Diagnostics > Write Diagnostics Report. Skim it to make sure there's nothing confidential, and then you can either attach it to this issue or email it directly to me at [email protected].
Questions
Do you know what version of RStudio you were using prior to upgrading (where, presumably, this problem wasn't happening)?
If you are able to, does installing the previous version fix the problem?
What does getOption("repos") report (run in RStudio Console)?
I'm having the same problem. It doesn't have to be switching projects, just closing the project with RStudio is enough. Even switching from no project to a project hangs.
Only workaround is to open the project from the file manager and close the window when done.
Microsoft Windows 11 Home
Version 10.0.26200 Build 26200
version
version.string R version 4.6.0 (2026-04-24 ucrt)
nickname Because it was There
FYI, we believe we have identified the root cause and are working on a fix. Thanks for the reports. We'll let you know when there's a release-candidate build with the fix so you can double-check that this indeed fixed it for you.
Thank you for taking the time to test and confirm! We'll be preparing a new release of RStudio in the coming weeks, so you should see this available soon.
Activity
gtritchie commentedon Jun 18, 2026
Sorry you are experiencing this problem. I have not been able to reproduce it so far, using the same version of RStudio and R, on Windows-11 Pro 25H2.
Some steps (and questions) that might help me narrow in on the problem:
Diagnostics Report
First, please generate a diagnostics report via Help > Diagnostics > Write Diagnostics Report. Skim it to make sure there's nothing confidential, and then you can either attach it to this issue or email it directly to me at [email protected].
Questions
getOption("repos")report (run in RStudio Console)?bkmontgom commentedon Jun 18, 2026
I'm having the same problem. It doesn't have to be switching projects, just closing the project with RStudio is enough. Even switching from no project to a project hangs.
Only workaround is to open the project from the file manager and close the window when done.
Microsoft Windows 11 Home
Version 10.0.26200 Build 26200
version
version.string R version 4.6.0 (2026-04-24 ucrt)
nickname Because it was There
RStudio.Version()
$mode
[1] "desktop"
$version
[1] ‘2026.5.1.225’
$long_version
[1] "2026.05.1+225"
$release_name
[1] "Golden Wattle"
bkmontgom commentedon Jun 18, 2026
RStudio.Version()
$mode
[1] "desktop"
$version
[1] ‘2026.5.0.218’
$long_version
[1] "2026.05.0+218"
$release_name
[1] "Golden Wattle"
Works fine. Switches and closes projects without hanging.
kevinushey commentedon Jun 18, 2026
Are you making use of Copilot or Posit Assistant? One hypothesis is that RStudio is hanging while attempting to shut down those processes.
gtritchie commentedon Jun 18, 2026
One more question, what does
getOption("repos")report (in the RStudio Console)?gtritchie commentedon Jun 18, 2026
FYI, we believe we have identified the root cause and are working on a fix. Thanks for the reports. We'll let you know when there's a release-candidate build with the fix so you can double-check that this indeed fixed it for you.
detect ppm repository urls with a trailing slash
migrate server child-reaper join onto joinOrAbandonThread
fix windows hang on project switch from unstopped io_context workers
detect ppm repository urls with a trailing slash
migrate server child-reaper join onto joinOrAbandonThread
fix windows hang on project switch from unstopped io_context workers (#…
add news entries for ppm io_context exit hang fixes (#18024)
andres5791 commentedon Jun 19, 2026
I just wanted to say that I had exactly this same issue in version "2026.05.1+225", and now it has been indeed fixed installing the daily build
edit: "2026.05.1+225", not 218 :)
kevinushey commentedon Jun 19, 2026
Thank you for taking the time to test and confirm! We'll be preparing a new release of RStudio in the coming weeks, so you should see this available soon.
ercbk commentedon Jun 26, 2026
Just for completeness since I was OP, 2026.6.0.242 fixed the project-switching issue for me as well. Thanks for the help.
kevinushey commentedon Jun 26, 2026
That's great to hear -- thanks for taking the time to test and report back.