Re: [R] Printing Lattice Graphs from Windows

2004-06-08 Thread Duncan Murdoch
On Sun, 6 Jun 2004 14:13:59 -0400, "Charles and Kimberly Maner" <[EMAIL PROTECTED]> wrote : >Hello. I have researched this topic and have found no answers. I am >running R 1.9.0 and am trying to print a lattice graph, (e.g., xyplot(1~1)), >using mouse right click -> print. It produces a blank p

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Deepayan Sarkar
On Sunday 06 June 2004 22:11, Charles and Kimberly Maner wrote: > Hi. This did not work for me per my R output/session below: > > library(lattice) > > win.metafile() > > trellis.par.set('background', list('white')) This doesn't make sense; the components need to be named. Should be trellis.par.

RE: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Charles and Kimberly Maner
tting does default to a "white" background. --Charles -Original Message- From: Spencer Graves [mailto:[EMAIL PROTECTED] Sent: Sunday, June 06, 2004 10:00 PM To: Duncan Murdoch Cc: Deepayan Sarkar; [EMAIL PROTECTED]; Charles and Kimberly Maner Subject: Re: [R] Printing Lattice Gra

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Spencer Graves
Hi, Duncan: Thanks. It worked for me, complete with the gray background and pastel blue dot. The following also worked to eliminate the (to me ugly) gray background, etc.: win.metafile() trellis.par.set('background', list('white')) trellis.par.set('plot.symbol', list(cex=0.8, col="blu

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Duncan Murdoch
On Sun, 06 Jun 2004 17:43:42 -0700, Spencer Graves <[EMAIL PROTECTED]> wrote: >Hi, Deepayan: > > Following your suggestion, I tried the following in Rgui.exe: > > > xyplot(1~1) > > win.metafile() > > graphics.off() > > I then switched to MS Word, pasted, and got the same blank plot as

RE: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Charles and Kimberly Maner
essage- From: Spencer Graves [mailto:[EMAIL PROTECTED] Sent: Sunday, June 06, 2004 8:44 PM To: Deepayan Sarkar Cc: [EMAIL PROTECTED]; Charles and Kimberly Maner Subject: Re: [R] Printing Lattice Graphs from Windows Hi, Deepayan: Following your suggestion, I tried the following in Rgui.exe:

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Spencer Graves
Hi, Deepayan: Following your suggestion, I tried the following in Rgui.exe: > xyplot(1~1) > win.metafile() > graphics.off() I then switched to MS Word, pasted, and got the same blank plot as before. (I actually tried other things as well, but came to this after reading the document

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Deepayan Sarkar
On Sunday 06 June 2004 18:10, Charles and Kimberly Maner wrote: > Hi folks. It looks like it's stirred some discussion ultimately > resulting/concluding that this phenomena is a possible bug either in > the lattice package or in R 1.9.0/1.9.1 itself. So, I'll stay tuned, > so to speak, for either

RE: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Charles and Kimberly Maner
s, Charles -Original Message- From: Spencer Graves [mailto:[EMAIL PROTECTED] Sent: Sunday, June 06, 2004 5:02 PM To: Spencer Graves Cc: Dirk Eddelbuettel; [EMAIL PROTECTED]; Ulises Mora Alvarez; [EMAIL PROTECTED]; Charles and Kimberly Maner Subject: Re: [R] Printing Lattice Graphs from Windo

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Spencer Graves
Entschuldigung! My English spellchecker failed me again. spencer graves Peter Dalgaard wrote: Dirk Eddelbuettel <[EMAIL PROTECTED]> writes: On Sun, Jun 06, 2004 at 01:32:00PM -0700, Spencer Graves wrote: I agree: It sounds like a bug, as you said, Irk, in that That brilliant

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Peter Dalgaard
Dirk Eddelbuettel <[EMAIL PROTECTED]> writes: > On Sun, Jun 06, 2004 at 01:32:00PM -0700, Spencer Graves wrote: > > I agree: It sounds like a bug, as you said, Irk, in that > > That brilliant :) Many people, in Germany as well as abroad, managed to > chop Eddelbuettel quite well. Turning

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Dirk Eddelbuettel
On Sun, Jun 06, 2004 at 01:32:00PM -0700, Spencer Graves wrote: > I agree: It sounds like a bug, as you said, Irk, in that That brilliant :) Many people, in Germany as well as abroad, managed to chop Eddelbuettel quite well. Turning Dirk into Irk is rather unsurpassed. Dirk, with a big g

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Spencer Graves
Hi, Duncan: I just did "plot(1:2)" in Rgui.exe, and that copied fine as a metafile into MS Word via the clipboard. Then I exited and restarted Rterm.exe under ESS and tried it again. This time, I got a blank image copied into MS Word. However, after I modified the Lattice default

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Paul Murrell
Hi Sorry I haven't had a chance to look at this in the last week or so. I think the problem may be in the core graphics engine (when there is grid output, but no "traditional" output). Don't understand yet why this only seems to have kicked in with 1.9 (if anyone has ever seen it with 1.8 or

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Prof Brian Ripley
On Sun, 6 Jun 2004, Duncan Murdoch wrote: > On Sun, 6 Jun 2004 15:00:52 -0500, Dirk Eddelbuettel <[EMAIL PROTECTED]> > wrote: > > > > >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? > > Yes, definitely. Can someone distill thi

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Spencer Graves
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 "[EMAIL PROTECTED]" in the list of addresses to this email. Sp

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Duncan Murdoch
On Sun, 6 Jun 2004 15:00:52 -0500, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote: > >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? Yes, definitely. Can someone distill this down to code that uses only the base packages (e.g. just

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Dirk Eddelbuettel
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

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Spencer Graves
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. When I

Re: [R] Printing Lattice Graphs from Windows

2004-06-06 Thread Ulises Mora Alvarez
Hi! Take a look at the help pages of 'dev.print', 'dev.copy' and 'dev.copy2eps'. These functions are very simple to use and, depending on your system, give you a lot of choises. Regards. On Sun, 6 Jun 2004, Charles and Kimberly Maner wrote: > > Hello. I have researched this topic and have