Replies: 1 comment 3 replies
-
Thanks for this question! We have some discussion on this in #6449, and I'll especially highlight what I say in #6449 (comment):
So I can understand better, in RStudio did you use inline output in your You can update the working directory from the File Explorer pane if you right click: ![]() |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning,
I maintain a Quarto website, The Tangled Bank, originally developed in RStudio. It has ~190 pages with many code chunks. In RStudio, data files are referenced with relative paths (relative to each
.qmd
file). Both “Run Current Chunk” and rendering (page or full site) work as expected.In Positron, rendering still works, but interactive execution does not. Clicking “Run Cell” fails to find files when using paths relative to the
.qmd
. If I switch to paths relative to the project root (where the.Rproj
file is), the chunks run interactively—but then rendering breaks.I know about approaches like
here::here()
, but rewriting 190 .qmd files is not feasible.Is there a way to make interactive code execution in Positron respect the same relative path behaviour as RStudio?
Thanks,
AJ Smit
Beta Was this translation helpful? Give feedback.
All reactions