rstudio / rstudio/rstudio

.rs.api.executeCommand("newProject") results in "R session is busy" pop-up

Open
#17,396 1 comment 0 reactions 0 assignees View on GitHub
bug projects
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."

Image

### 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.