Skip to content

IDE hangs while switching projects #18018

Closed
Closed

Description

@ercbk

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.

  • [x ] I have read the guide for submitting good bug reports.
  • [ x] I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • [x ] If I am reporting an RStudio crash, I have included a diagnostics report.
  • [x ] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added theissue type on Jun 18, 2026
  2. gtritchie commented on Jun 18, 2026

    @gtritchie
    Member

    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)?
  3. added
    info needed
    on Jun 18, 2026
  4. bkmontgom commented on Jun 18, 2026

    @bkmontgom

    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"

  5. bkmontgom commented on Jun 18, 2026

    @bkmontgom

    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.

  6. kevinushey commented on Jun 18, 2026

    @kevinushey
    Collaborator

    Are you making use of Copilot or Posit Assistant? One hypothesis is that RStudio is hanging while attempting to shut down those processes.

  7. gtritchie commented on Jun 18, 2026

    @gtritchie
    Member

    One more question, what does getOption("repos") report (in the RStudio Console)?

  8. gtritchie commented on Jun 18, 2026

    @gtritchie
    Member

    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.

  9. andres5791 commented on Jun 19, 2026

    @andres5791

    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

    $mode
    [1] "desktop"
    
    $version
    [1] ‘2026.6.0.242’
    
    $long_version
    [1] "2026.06.0+242"
    
    $release_name
    [1] "Blue Plumbago"
    

    edit: "2026.05.1+225", not 218 :)

  10. kevinushey commented on Jun 19, 2026

    @kevinushey
    Collaborator

    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.

  11. removed
    info needed
    on Jun 22, 2026
  12. ercbk commented on Jun 26, 2026

    @ercbk
    Author

    Just for completeness since I was OP, 2026.6.0.242 fixed the project-switching issue for me as well. Thanks for the help.

  13. kevinushey commented on Jun 26, 2026

    @kevinushey
    Collaborator

    That's great to hear -- thanks for taking the time to test and report back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions