[R] save plot graph

M. Edward Borasky znmeb at aracnet.com
Tue Oct 2 05:17:12 CEST 2001


> Date: Mon, 01 Oct 2001 16:22:46 +0200
> From: Olivier Martin <olivier.martin at inrialpes.fr>
> Subject: [R] save plot graph
>
> - --------------AF57D599448FD65783CD0AE5
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Dear all,
>
> I have a lot plot graphs and i would like to save them.
> One solution is to use the grab function with xv.
> But it is tedious....
> So is there a R function that can save automatically
> the result of a plot in a gif or ps or bmp file
>
> Thanks
> Olivier

When I want code that works on either Windows or *N*X, I usually use
Portable Network Graphics (png) files. Do a "help (png)" for the details.
"png" files can be imported into Word documents and displayed with most
browsers. Dealing with PostScript is a pain on Windows, "gifs" have
intellectual property issues as Dr. Ripley noted, and "bmp" files are
*huge*. "wmf" files work great on Windows; if I don't need portability,
that's what I use on Windows R. But *N*X R doesn't make "wmf" files yet.
--
M. Edward (Ed) Borasky, Chief Scientist, Borasky Research
http://www.borasky-research.net  http://www.aracnet.com/~znmeb
mailto:znmeb at borasky-research.net  mailto:znmeb at aracnet.com

Q: How do you tell when a pineapple is ready to eat?
A: It picks up its knife and fork.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list