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
As originally described in #9931, graphics device backend settings provided in the yaml front matter of an Rmd file are ignored within the RStudio execution context (inline chunk execution as well as in the console). For example:
The ragg_png device will be used when the document is knit, but not when its chunks are executed inline. When dev='ragg_png' is provided as a chunk option, it is used to render the chunks within RStudio, but when the same option is provided via the yaml, it is not. Consider adding support for using certain options, specifically dev, from the yaml front matter within RStudio inline chunk execution.
The text was updated successfully, but these errors were encountered:
We didn't address this as part of #9931 because the user can already specify the backend graphics device through either Tools > Global Options > Graphics and selecting the backend device, setting options(RStudioGD.backend = xx) in the user's .Rprofile, or setting the knitr chunk option dev. Will leave this option open to track interest in specifying the option via yaml (which is parsed by the knitr engine, but not currently by RStudio)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
As originally described in #9931, graphics device backend settings provided in the yaml front matter of an Rmd file are ignored within the RStudio execution context (inline chunk execution as well as in the console). For example:
The
ragg_png
device will be used when the document is knit, but not when its chunks are executed inline. Whendev='ragg_png'
is provided as a chunk option, it is used to render the chunks within RStudio, but when the same option is provided via the yaml, it is not. Consider adding support for using certain options, specificallydev
, from the yaml front matter within RStudio inline chunk execution.The text was updated successfully, but these errors were encountered: