RStudioGD device

Hi,

I am trying to use the package R.devices to simultaneously print a plot inline in a Quarto document and save it to a png file. I opened an issue in the R.devices repository, but according to the maintainer he needs to know how to open a RStudioGD device so it works everywhere (it print inline in a Quarto file or to the plot viewer according to the settings). Do you know how to achieve that?

Right now, when selecting RStudioGD as the output device, the plot is opened in a new window named Quartz when the code is run from a R file while it is not shown at all when the code is executed inside a Quarto document with inline plotting.

Thank you very much!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.