Re: [R] Printing to jpeg (dev.print)

2007-10-02 Thread Prof Brian Ripley
On Tue, 2 Oct 2007, Marcin Kozak wrote: > This may be an easy question, but let me ask it. When writing a plot > to a jpeg file: You do realize that is not what this does: it copies a plot from a screen device to a jpeg device? >> plot(runif(30)) >> dev.print(file="test.jpeg", device=jpeg, widt

[R] Printing to jpeg (dev.print)

2007-10-02 Thread Marcin Kozak
Hi, 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 fi