RStudio doesn't save picture

I can confirm this behavior in the latest release of RStudio (v. 0.99.902). A zoomed plot cannot be saved using the menus of RStudio, only the small image in the preview panel is saved with the "Export" pull-down menu. A right-click on the zoomed image, selecting "Save Image" does not work. There is no error message but nothing happens after the output directory and file name is selected and the "Save" button is clicked. I assume it's a bug. FWIW, I'm using ubuntu 16.04.

A quick workaround is to take a screenshot of the window containing the zoomed figure. There are specific OS-dependent keyboard combinations for this, like Alt+Print. Then one can use any image editor to crop the image and remove the window frame.

Other useful options have been posted as answers here, but what I've seen so far is unrelated to RStudio.

Tags:

R

Rstudio