You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Open .qmd file in a website project
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
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.
Activity
eliocamp commentedon Jul 13, 2026
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.
use project-relative path when previewing quarto documents (#18197) (#…