[Rd] Saving a plot from R-LINUX(2)

From: <Augusto.Sanabria_at_ga.gov.au>
Date: Fri 13 Jan 2006 - 02:03:27 GMT


Dirk,

Thanks a lot for taking the time to reply.

Please have a look at my comments below:

On 13 January 2006 at 11:02, Augusto.Sanabria@ga.gov.au wrote: | Is there any way to save a plot produced by | R in a LINUX (Debian) machine?

(Dirk)It is the same on every platform and ...

(Augusto) No, I can see an option to save my plot from the plot window
in MS Windows. That option does not exist in the LINUX window, does it? (maybe there is something wrong with my LINUX config.)

say, I have an arbitrary set of data x,y (not a pdf). I can plot the data using plot(x,y) and I can see the plot in a plot window in LINUX.

The problem is: how can I save that plot into an external file? I expect to find a command like:

save_a_displayed_plot("myplot1","jpeg","/mnt/store")

Then, I expect to find the file myplot1.jpeg in "store".

I have read the documentation, sect. 1.6, and found no reference to this problem.

Again, thank you for your reply.

Augusto



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Jan 13 13:09:12 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:39 GMT