[R] Printing Lattice Graphs from Windows

Spencer Graves spencer.graves at pdf.com
Sun Jun 6 22:32:00 CEST 2004


      I agree:  It sounds like a  bug, as you said, Irk, in that 
Rgui.exe cannot copy a metafile to the clipboard, at least under MS 
Windows 2000, 5.00.2195, Service Pack 3, even though Rterm.exe can.  
Therefore, I'm including "r-bugs at biostat.ku.dk" in the list of addresses 
to this email. 

      Spencer Graves

Irk Eddelbuettel wrote:

>On Sun, Jun 06, 2004 at 12:26:45PM -0700, Spencer Graves wrote:
>  
>
>>     Using R 1.9.1 alpha via XEmacs with ESS under Windows 2000, I did 
>>the following: 
>>
>>     library(lattice)
>>     xyplot(1~1)
>>
>>     I got the plot in a separate window, from which I did File -> Copy 
>>to the clipboard -> as a metafile.  I then changed to MS Word, and it 
>>pasted fine. 
>>    
>>
>
>Ok.
> 
>  
>
>>     When I started R 1.9.1 alpha directly (without XEmacs) and tried 
>>the same thing, I got a standard lattice plot.  However, when I tried 
>>File -> Copy to the clipboard -> as a metafile, I got a blank plot when 
>>copying into MS Word.  When I copied as a bitmap, it came through fine.  
>>However, I suspect that is unacceptable. 
>>    
>>
>
>Not ok. 
>
>But isn't it a bug in the windows version of R if the Rgui.exe cannot copy
>to the clipboard where Rterm.exe can?
>
>I may be missing some subtle detail, though... 
>
>Irk
>
>  
>




More information about the R-help mailing list