FW: [BioC] Device question

Kasper Daniel Hansen k.hansen at biostat.ku.dk
Wed Mar 30 09:52:32 CEST 2005


On Wed, Mar 30, 2005 at 12:31:36AM -0500, Paul Grosu wrote:
> Thank you all who've answered me.  I went with the solution of ghostscript
> and doing it the following way:
> 
> > bitmap("c2.png",width=3,height=3,res=300)
> > image(a)
> 
> but the problem now is that the files don't completely get saved except only
> when I quit out of R.  Is there a way of syncing out the image cache so the
> files are completely written out to disk without quitting R?

When you close the device, the file gets "finished". So just do a 
  dev.off()
when you want the file to be finalized.

Kasper



More information about the Bioconductor mailing list