Image name in RStudio using Rmarkdown


I am using Rmarkdown in RStudio in scripts to produce images and plots, say for instance:

{r, fig.width = 5, fig.height = 4}
plot(1:10, 1:10)

If I right-click the image, and select Save as..., I get a default file name such as 000010.png?fixed_size=1.

How can I customize the filename to have for example image_line.png as default filename?

Thank you

This topic was automatically closed 21 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.