[R] Printing to jpeg (dev.print)

Marcin Kozak nyggus at gmail.com
Tue Oct 2 10:41:20 CEST 2007


This may be an easy question, but let me ask it. When writing a plot
to a jpeg file:

> plot(runif(30))
> dev.print(file="test.jpeg", device=jpeg, width=600)

the plot I receive has gray background, the result on no account I
want to receive. The same situation occurs when printing to a bmp
file. But when printing a pdf file, the background is white as it
should be. What should I do to have a plot in a jpeg file with white


More information about the R-help mailing list