-
Hello all I have a quarto R book with a lot of qmd files and would love to keep them in folder named after the book parts, like
Here is what I cannot figure out. Suppose I keep data or a common R file in a folder called data, then I cannot source it with the same path depending on if I render book in terminal or edit qmd it in VScode and run code chunks there. One needs
and the other
So as far as I can see, the only way to make this work is to keep all qmd files in the root folder. Which is very messy. One might think that the R I must be missing something incredibly stupid. thanks jack |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We can use the See also: |
Beta Was this translation helpful? Give feedback.
We can use the
execute-dir: project
setting.https://quarto.org/docs/projects/code-execution.html#working-dir
See also:
https://quarto.org/docs/tools/vscode.html#execution-directory