I am getting ready to teach intro R labs, and my students need to be able to make stand-alone jpg images of their plots. Because it's an intro class, I was planning to have them switch their RStudio preferences to uncheck "show output inline," so plots would show up in the Plots pane and have the Export button available.
But, unchecking that box undoes the working directory magic that allows you to use relative paths from the point of view of the RMarkdown document, and returns the working directory to the main project directory. Is there a way these two options could be decoupled?
Alternatively, could there be a way to jump a plot from the inline preview to the Plots pane to be able to use the Export button?