[R] Save image as metafile

David Winsemius dwinsemius at comcast.net
Mon Dec 8 23:46:06 CET 2008


On Dec 8, 2008, at 4:02 PM, Prof Brian Ripley wrote:

> On Mon, 8 Dec 2008, David Winsemius wrote:
>
>>
>> To find out what devices are available, try:
>>
>>> capabilities()
>>  jpeg      png     tiff    tcltk      X11     aqua http/ftp   
>> sockets libxml     fifo   cledit    iconv      NLS
>>  TRUE     TRUE    FALSE     TRUE     TRUE     TRUE     TRUE      
>> TRUE TRUE     TRUE     TRUE     TRUE     TRUE
>> profmem    cairo
>> FALSE     TRUE
>>
>> So on my machine, a png device can get graphics output. That should  
>> provide all of the functionality of a wmf format and be much more  
>> cross-platform.
>
> Not so: wmf is a primarily a vector format: however PDF is a good  
> cross-platform substitute.

Thank you for the correction.  I had conflated "lossless format" with  
"vector format".  Perhaps the OP will be happier with pdf output. Will  
he be able to use cmd-S to bring up a Save as dialog if he is not  
running from R.app?

-- 
David Winsemius

>
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list