Re: [R] png(): Linux vs Windows

2008-10-13 Thread Prof Brian Ripley
On Sun, 12 Oct 2008, [EMAIL PROTECTED] wrote: On 12-Oct-08 22:09:46, jim holtman wrote: Seem to work fine on my R 2.7.2 version of Windows: png(file=myplot.png, bg=transparent, units='cm', width=12,height=15, res=200) plot(1:10) rect(1, 5, 3, 7, col=white) dev.off() Did you check the

[R] png(): Linux vs Windows

2008-10-12 Thread Ted Harding
Hi Folks, Quick question. I have the following line in an R code file which runs fine on Linux: if(PNG) png(GraphName,width=12,height=15,units=cm,res=200) I learn that, when the same code was run on a Windows machine, there was the following error: Error in

Re: [R] png(): Linux vs Windows

2008-10-12 Thread jim holtman
Seem to work fine on my R 2.7.2 version of Windows: png(file=myplot.png, bg=transparent, units='cm', width=12,height=15, res=200) plot(1:10) rect(1, 5, 3, 7, col=white) dev.off() Did you check the version they are using. On Sun, Oct 12, 2008 at 6:02 PM, Ted Harding [EMAIL PROTECTED]