-
In Rmarkdown it's possible to save a chunk-generated plot with The below approach works in a qmd. Could
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The hashpipe comes from May I suggest to switch this discussion category from "Ideas" to "Q&A" and select this answer if appropriate? (From the desktop version of GitHub website) ---
title: "Untitled"
format: html
---
```{r}
#| label: feature
#| fig-height: 4.83
#| fig-width: 9
#| fig-path: "subdir/"
plot(1)
``` |
Beta Was this translation helpful? Give feedback.
-
Perfect, thank you. (I thought I had attempted that, but must have misstepped.) I'm wondering though if it could be added to the suggested options? (The options don't all display alphabetically, which would also be good, but I couldn't see |
Beta Was this translation helpful? Give feedback.
-
Added an issue here. |
Beta Was this translation helpful? Give feedback.
The hashpipe comes from
knitr
in your case, allknitr
options should work using yaml hashpipe style.May I suggest to switch this discussion category from "Ideas" to "Q&A" and select this answer if appropriate? (From the desktop version of GitHub website)
It works perfectly.