Sorry -- you do have to highlight the quartz window to use identify(), but that shouldn't matter either.
On Sep 18, 2011, at 2:41 PM, Don McKenzie wrote: > > On Sep 18, 2011, at 2:15 PM, bby2...@columbia.edu wrote: > >> Don and Duncan, >> >> That function works, up to the same point where I can save pdf into Word >> using the menu. But when I use Identify function together with plot >> function, the Quartz window has to be closed before I can go back the >> console to execute "copy2eps" function. > ********************************** > This is indeed strange. Running R 2.13.0 on mac SnowLeopard, with quartz > window manager > > > plot(1,1) > > identify(1,1) > warning: no point within 0.25 inches > [1] 1 > > dev.copy2eps(file="test.eps") > quartz > 2 > > The eps file shows up in my working directory just as it should. There > should be no need to close the quartz window, > or even look at it for that matter. Can you show us your session info? > >> But by then, I don't have an active device anymore. So it beats the purpose. >> >> Dan, >> >> I'm using Word 2004. Upgrading Word is an idea. I will definitely look into >> it, although I didn't think those who didn't have this problem necessarily >> had a higher version of Word. >> >> Bonnie Yuan >> >> Quoting Duncan Murdoch <murdoch.dun...@gmail.com>: >> >>> On 11-09-18 4:53 PM, Don McKenzie wrote: >>>> I think it's actually dev.copy2eps() >>>> >>>> or at least that one works. >>> >>> Right, sorry. >>> >>> Duncan Murdoch >>> >>>> >>>> >>>> On 18-Sep-11, at 1:51 PM, Duncan Murdoch wrote: >>>> >>>>> On 11-09-18 4:11 PM, bby2...@columbia.edu wrote: >>>>>> Yes, I'm positive I had the right window highlighted, and I have >>>>>> shown >>>>>> this problem to lots of people including tech staff, to get no >>>>>> answers. So I suspect it's probably a somewhat obscure problem. >>>>>> >>>>>> Duncan, thanks for the lead on the new group. I will follow up on >>>>>> that. What is the copy2eps? Is it to Excel? Do you get that option >>>>>> in R? >>>>> >>>>> copy2eps() is a function in R. Try ?copy2eps for details. >>>>> >>>>> Duncan Murdoch >>>>> >>>>>> >>>>>> Bonnie Yuan. >>>>>> >>>>>> Quoting Duncan Murdoch<murdoch.dun...@gmail.com>: >>>>>> >>>>>>> On 11-09-18 3:48 PM, Don McKenzie wrote: >>>>>>>> >>>>>>>> On 18-Sep-11, at 12:38 PM, bby2...@columbia.edu wrote: >>>>>>>> >>>>>>>>> This is has been bugging me for a long time. Nobody around me >>>>>>>>> seems >>>>>>>>> to have this problem. I hope someone on the forum could help me. >>>>>>>>> >>>>>>>>> When I generate a R graph and want to bring the image into Word. I >>>>>>>>> cannot copy and paste it like many of my classmates can do. The >>>>>>>>> "Select" in Edit menu have all options grayed out. >>>>>>>> >>>>>>>> You want "Copy", not "Select". Then Paste into your word >>>>>>>> processor. >>>>>>> >>>>>>> That doesn't work for me with OpenOffice (I don't have Word). >>>>>>> copy2eps(file="some.eps") does work, along with Insert | Picture >>>>>>> | From >>>>>>> file... >>>>>>> >>>>>>>> >>>>>>>>> So what I ended up doing is to save it as pdf file and bring it >>>>>>>>> into Word. But if I use "Identify" in the Plot statement, there >>>>>>>>> will be values labels on the graph when you click on the >>>>>>>>> observation. For some reason, these labels don't show up in the >>>>>>>>> pdf >>>>>>>>> file. >>>>>>> >>>>>>> They did show up with copy2eps(). I didn't try copy2pdf(); my >>>>>>> copy of >>>>>>> OpenOffice doesn't recognize .pdf as a picture type. >>>>>>> >>>>>>> But Bonnie will probably get a better answer on the R-sig-mac list. >>>>>>> >>>>>>> Duncan Murdoch >>>>>>> >>>>>>>>> >>>>>>>>> So the last resort I have is prinscreen, which always have >>>>>>>>> irrelevant things showing. >>>>>>>>> >>>>>>>>> I've tried updating R/OS and all softwares on my MAC, but nothing >>>>>>>>> seems to do anything. I have OX 10.6.8. Does this problem sound >>>>>>>>> familiar to anyone? >>>>>>>>> >>>>>>>>> Thanks in advance! >>>>>>>>> >>>>>>>>> Bonnie Yuan >>>>>>>>> >>>>>>>>> ______________________________________________ >>>>>>>>> R-help@r-project.org mailing list >>>>>>>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>>>>>>> PLEASE do read the posting guide http://www.R-project.org/posting- >>>>>>>>> guide.html >>>>>>>>> and provide commented, minimal, self-contained, reproducible code. >>>>>>>> >>>>>>>> When we look at the wings of the eagle >>>>>>>> To the left, closest to the heart, is the spirit >>>>>>>> To the right, far away from the heart, is the science >>>>>>>> No bird can ever lift off with wings that are not equal >>>>>>>> >>>>>>>> -- Greenland First Nations elder >>>>>>>> quoted in EOS Transactions >>>>>>>> >>>>>>>> >>>>>>>> Don McKenzie, Research Ecologist >>>>>>>> Pacific WIldland Fire Sciences Lab >>>>>>>> US Forest Service >>>>>>>> >>>>>>>> Affiliate Professor >>>>>>>> School of Forest Resources, College of the Environment >>>>>>>> CSES Climate Impacts Group >>>>>>>> University of Washington >>>>>>>> >>>>>>>> phone: 206-732-7824 >>>>>>>> d...@uw.edu >>>>>>>> >>>>>>>> ______________________________________________ >>>>>>>> R-help@r-project.org mailing list >>>>>>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>>>>>> PLEASE do read the posting guide http://www.R-project.org/ >>>>>>>> posting-guide.html >>>>>>>> and provide commented, minimal, self-contained, reproducible code. >>>>>> >>>>>> >>>>> >>>> >>>> >>>> >>>> >>>> Don McKenzie, Research Ecologist >>>> Pacific WIldland Fire Sciences Lab >>>> US Forest Service >>>> >>>> Affiliate Professor >>>> School of Forest Resources, College of the Environment >>>> CSES Climate Impacts Group >>>> University of Washington >>>> >>>> phone: 206-732-7824 >>>> d...@uw.edu >>>> >>>> >>>> >>>> >> >> > > Don McKenzie, Research Ecologist > Pacific WIldland Fire Sciences Lab > US Forest Service > > Affiliate Professor > School of Forest Resources, College of the Environment > CSES Climate Impacts Group > University of Washington > > phone: 206-732-7824 > d...@uw.edu > > > Don McKenzie, Research Ecologist Pacific WIldland Fire Sciences Lab US Forest Service Affiliate Professor School of Forest Resources, College of the Environment CSES Climate Impacts Group University of Washington phone: 206-732-7824 d...@uw.edu [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.