[R] Problems with png()

Laura Quinn laura at env.leeds.ac.uk
Mon Sep 6 12:00:06 CEST 2004


Sorry!

Tried to save the .png from both R-1.9.1 and R-1.8.0 to no avail. I am
running R-1.9.1 on SusE 9.0, and R-1.8.0 on Debian.

I have tried to view the images with Gimp and Kview (on both systems), to
no avail.

Laura Quinn
Institute of Atmospheric Science
School of the Environment
University of Leeds
Leeds
LS2 9JT

tel: +44 113 343 1596
fax: +44 113 343 6716
mail: laura at env.leeds.ac.uk

On Mon, 6 Sep 2004, Uwe Ligges wrote:

> Laura Quinn wrote:
>
> > I am trying to save a series of plots as .png files by using
> >
> > png(file="myfile.png",bg="transparent")
> > dev.off()
>
> More details please, we cannot help otherwise.
> At least version of R, operating system, and version of libpng, as well
> as the program that told you the file is corrupted ...
>
> Uwe Ligges
>
>
>
> > for each image plot I produce. Unfortunately when I have tried this I am
> > unable to open the files, and am told they are corrupted.
> >
> > I have tried to use the jpeg() function but have the same problem. The only way I have managed to
> > export a graphic successfully is as dev.copy2eps. Aside from producing
> > unwieldy files, this is also unhelpful as I at m hoping to create a movie of
> > the images via ImageMagick.
> >
> > Any suggestions?
> >
> > Thanks in advance,
> >
> > Laura Quinn
> > Institute of Atmospheric Science
> > School of the Environment
> > University of Leeds
> > Leeds
> > LS2 9JT
> >
> > tel: +44 113 343 1596
> > fax: +44 113 343 6716
> > mail: laura at env.leeds.ac.uk
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>




More information about the R-help mailing list