Skip to content

Render Button not working reliably #18197

Closed

Description

@annrcannon

System details

RStudio Edition : <!-- Desktop or Server --> Desktop
RStudio Version : 2026.06.0
OS Version      :  Windows 11
R Version       : 4.4.3

Steps to reproduce the problem

  1. Open .qmd file in a website project
  2. Click the render button

Describe the problem in detail

I am working on a website project that I cloned from another github repository. My working directory is named Regression2026. I open qmd files by clicking on the filename in the files tab in R studio. When I'm working with a qmd file in the Regression/slides folder, using the render button renders the files just fine. When I work with a qmd file in Regression/labs or any folder under that, and I click the render button, I get the error:

==> quarto preview claudetest.qmd --to html --no-watch-inputs --no-browse

Error in rmarkdown:::abs_path(input) :
The file 'claudetest.qmd' does not exist.
Calls: .main -> execute -> setwd -> dirname ->
Execution halted
WARN: Error encountered when rendering files

Note that I can render the files either in the console using
quarto::quarto_render("labs/claudetest.qmd")

or in the terminal window using
quarto render labs/claudetest.qmd

So those are my workarounds for now.

Describe the behavior you expected

I expected the file to render using the render button

  • [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.
  • 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. eliocamp commented on Jul 13, 2026

    @eliocamp

    Can confirm that I also got this issue. It seems that RStudio is running the command using just the filename of the document without adding the whole path.

  2. added theissue type on Jul 13, 2026
  3. self-assigned this
    on Jul 13, 2026
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