.rs.api.executeCommand("newProject") results in "R session is busy" pop-up
- Dominant language
- Java
- Stars
- 5.1k
- Forks
- 1.2k
- PR merge metrics
- PR metrics pending
Description
### System details
RStudio Edition : Desktop
RStudio Version : 2026.04.0+497.pro2
OS Version : Windows 11
R Version : 4.5.3
### Steps to reproduce the problem
In the console: `.rs.api.executeCommand("newProject")`
### Describe the problem in detail
When running .rs.api.executeCommand("newProject") from the console, the new project wizard doesn't appear. Instead, the "R session is currently busy" pops up, with the title, "Save Current Workspace."
### Describe the behavior you expected
The new project wizard would appear.
- [ ] I have read the guide for [submitting good bug reports](https://github.com/rstudio/rstudio/wiki/Writing-Good-Bug-Reports).
- [ ] I have installed the latest version of RStudio, and confirmed that the issue still persists.
- [ ] If I am reporting an RStudio crash, I have included a [diagnostics report](https://support.posit.co/hc/en-us/articles/200321257-Running-a-Diagnostics-Report).
- [ ] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
Contributor guide
Assessment
This issue has not been assessed yet.