Bonnie, You will need to identify the points where you want your labels on the normal screen first, then code them into the script before producing the output... it is probably good practice in terms of being able to reproduce graphs consistently.
I also find the pdf(file='somename.pdf') useful as the images are vectors, so can be resized easily and cleanly. cheers Ben On 19/09/2011, at 5:43 AM, [email protected] wrote: > Hi Kent, > > Thanks for the tip. > > This works, up to the same point where I can save pdf into Word using the > menu. > In other words, as long as I don't use the Identify function, I can get the > graph I need. But it can't be in an interactive mode which the Identify > function needs to be in. So whatever labels I need to show on the graph will > not be there. > > Bonnie > > > Quoting Kent Manley <[email protected]>: > >> When doing this, I have turned on a graphics device prior to the plotting >> commands, for instance, >> >> jpeg(file="somename.jpg") >> plot.... >> dev.off() >> >> I have also begun using TeXShop and Sweave implementations, which create >> good-looking PDFs instead of Word documents, but that is another story. >> >> Good luck! >> >> Kent >> >> On Sep 18, 2011, at 4:20 PM, [email protected] 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. 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. >>> >>> 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-SIG-Mac mailing list >>> [email protected] >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> >> >> > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
