Skip to content

Error when presenting error from notebook chunks #16002

Closed

Description

@t-kalinowski

System details

RStudio Edition : Desktop 
RStudio Version : 
OS Version      : Mac
R Version       : 4.5

RStudio 2025.08.0-daily+81 "Sandyland Bluebonnet" Daily (9844bda, 2025-05-03) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2025.08.0-daily+81 Chrome/136.0.7103.49 Electron/36.1.0 Safari/537.36, Quarto 1.6.42 (/Applications/quarto/bin/quarto)

Steps to reproduce the problem

Evaluate a code chunk that produces an error

```{r, error = TRUE}
mtcars[mpg > 20]
```

Describe the problem in detail

In the chunk result presented, we see the original error, along with:

Error during wrapup: not that many frames on the stack
Error: no more error handlers available (recursive errors?); invoking 'abort' restart

At the console, the same error is presented with a traceback. See attached screenshot.

Image

Describe the behavior you expected

Same presentation of the error in both the notebook and the console. Alternatively, in the notebook, just the bare error, without the additional "not that many frames" addendum.

Activity

  1. added
    new
    on May 8, 2025
  2. added and removed
    new
    on May 9, 2025
  3. ronblum commented on May 9, 2025

    @ronblum
    Contributor

    This is a regression in RStudio Desktop 2025.04.0+492, unfortunately.

  4. added theissue type on May 12, 2025
  5. added this to the Patch 2025.05.1 milestone on May 12, 2025
  6. ronblum commented on May 15, 2025

    @ronblum
    Contributor

    Ignore.

  7. ronblum commented on May 15, 2025

    @ronblum
    Contributor

    Verified in RStudio Desktop 2025.05.1+502 on Windows 11. See also #16000.

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