Re: [R] unable to start device JPEG in linux

2008-08-12 Thread Prof Brian Ripley
On Tue, 12 Aug 2008, Bachas wrote: I have half a solution: bitmap(file="filename.jpg",type="jpeg"); works to generate a jpeg file. However, I want my plots to be stored in single jpeg files and I can't get this to work: bitmap(file="Rplot%03d.jpg",onefile=FALSE,type="jpeg"); it overwrites my R

Re: [R] unable to start device JPEG in linux

2008-08-12 Thread Bachas
I have half a solution: bitmap(file="filename.jpg",type="jpeg"); works to generate a jpeg file. However, I want my plots to be stored in single jpeg files and I can't get this to work: bitmap(file="Rplot%03d.jpg",onefile=FALSE,type="jpeg"); it overwrites my Rplot001.jpg file. Any one additional

Re: [R] unable to start device JPEG in linux

2008-08-12 Thread Bachas
I have the same problem. I am using R on our bioinformatics server. From what I have read jpeg() needs to use a widows graphics device like X11 to be able to generate a jpeg file. I am also very curious to see if anyone knows a solution, now I need to use pdf() of ps() which is more time consuming