Exporting graph on own local device
The graph plotted can be then exported to our own device by clicking the “Export” icon above the image in case you are using the R studio editor. The following image shows the export icon and the options available on opening it :
If you click on “Save as Image” the following popup opens :
If you click on “Save as PDF” the following popup opens and after selecting the directory click on save. It will be saved at the selected location:
Saving Graphs as Files in R
In this article, we are going to learn how to save graphs to files in the R programming language.