Re: [R] Issues getting R to write image files

2009-06-11 Thread Prof Brian Ripley
q() does call the internal version of graphics.off() which closes all open graphics devices. On Thu, 11 Jun 2009, Mario Valle wrote: Has tried to close the image file at the end? Do: dev.off() Hope it helps mario Kenny Larsen wrote: Hi All, Have spent the last coupl

Re: [R] Issues getting R to write image files

2009-06-11 Thread Kenny Larsen
Hi all, Silly missing ") at the end of the plot command! is working now, just need to remove the V1 and V2 that appear under my axis labels! Cheers for all your help guys, much appreciated. Kenny Ted.Harding-2 wrote: > > On 11-Jun-09 09:24:42, Tobias Verbeke wrote: >> Hi Kenny, >> >>> Have

Re: [R] Issues getting R to write image files

2009-06-11 Thread Ted Harding
On 11-Jun-09 09:24:42, Tobias Verbeke wrote: > Hi Kenny, > >> Have spent the last couple of days learning R and shell scripting to >> do >> batch plotting jobs. I have had success getting R to complete a filled >> contour plot and output to a file (.jpg or .tiff etc). However, when I >> try >> to

Re: [R] Issues getting R to write image files

2009-06-11 Thread Kenny Larsen
Thanks all, I added the dev.off() and although it didn't solve it it no doubt tidies things up on closing. I have got it working now, it is something in the plot() line, as removing all teh options solves it. I will work through adding them in one by one! Kenny Mario Valle wrote: > > Has t

Re: [R] Issues getting R to write image files

2009-06-11 Thread Tobias Verbeke
Hi Kenny, Have spent the last couple of days learning R and shell scripting to do batch plotting jobs. I have had success getting R to complete a filled contour plot and output to a file (.jpg or .tiff etc). However, when I try to do the same thing with the simple plot command the script seems t

Re: [R] Issues getting R to write image files

2009-06-11 Thread Mario Valle
Has tried to close the image file at the end? Do: dev.off() Hope it helps mario Kenny Larsen wrote: Hi All, Have spent the last couple of days learning R and shell scripting to do batch plotting jobs. I have had success getting R to complete a filled contour plot and

[R] Issues getting R to write image files

2009-06-11 Thread Kenny Larsen
Hi All, Have spent the last couple of days learning R and shell scripting to do batch plotting jobs. I have had success getting R to complete a filled contour plot and output to a file (.jpg or .tiff etc). However, when I try to do the same thing with the simple plot command the script seems to