[R] Plots Without Displaying

Lothar Botelho-Machado r-help at botelho-machado.de
Wed Aug 16 21:23:33 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

R Help Mailing List,


I'd like to generate a plot that I could display and/or store it as e.g.
jpeg. But unfortunately always a plotting window opens. Is it possible
to prevent that?

I tried the following:
R> bp<-boxplot( sample(100), plot=FALSE)

This works somehow, but it only stores data (as discribed in the help)
in bp and it is not possible afaik to display bp later on or store them
as a jpeg.

The next:
R> p<-plot(sample(100), sample(100), plot=FALSE)
..and also a variant using jpeg() didn't work at all.

Is there a way to generally store the plots as object, without
displaying them, or perhaps directly saving them to disc as jpeg?

A "Yes" or "No" or any further help/links are appreciated!!!

TIA,
 Lothar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE43C1HRf7N9c+X7sRAmCqAKCN9PpAEqnQ1hJHjrDKDat49ulHPQCfRVUW
+N9AtKrFxcs/kAdSQ7iV4yk=
=Tybe
-----END PGP SIGNATURE-----



More information about the R-help mailing list