Dear List, After my laptop was stolen I (eventually) replaced it with a G4 laptop running Mac OS 9.1 . This also meant I updated to the current Mac binary 1.3.1. This is pretty wonderful except for one problem. I normally save R figs as eps files using the Mac OS and then read them into Latex documents. This no longer works as the legends overwrite the diagrams. Saving as ps from R also does not work - the bounding box is then a problem. Is my problem (1)The move to the G4 platform (2) A change in R from 1.2 to 1.3 (3) Idiocy on my part I have been tearing my hair over this ( and I need to keep what I have). No doubt I am being stupid but if anyone can help me I would be very grateful. G.Janacek P.S. Stefano Iacus has done a cracking job - we Mac drivers owe him a huge debt. -- G.Janacek 44 (0) 1603 592489 Dean fax 44 (0) 1603 593868 School of Maths secretary 44 (0) 1603 592488 UEA Norwich NR4 7TJ -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20011011/dbd843b2/attachment.html
"G.Janacek" <G.Janacek at uea.ac.uk> writes:> Dear List, > After my laptop was stolen I (eventually) replaced it with a G4 laptop > running Mac OS 9.1 . This also meant I updated to the current Mac > binary 1.3.1. This is pretty wonderful except for one problem. > > I normally save R figs as eps files using the Mac OS and then read > them into Latex documents. This no longer works as the legends > overwrite the diagrams. Saving as ps from R also does not work - the > bounding box is then a problem. > > Is my problem > (1)The move to the G4 platform > (2) A change in R from 1.2 to 1.3 > (3) Idiocy on my part > > I have been tearing my hair over this ( and I need to keep what I > have). No doubt I am being stupid but if anyone can help me I would be > very grateful.An example of exactly what you do could be helpful. I don't really know the drivers for MacOS, but the usual issue with saving from screen display to files is if the dimensions are slipping. Essentially, you should try to ensure that the height, width, and pointsize are the same, or at least in proportion. Plotting directly to postscript could help too. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 11.10.2001 18:05 Uhr, G.Janacek wrote:> Dear List, > After my laptop was stolen I (eventually) replaced it with a G4 > laptop running Mac OS 9.1 . This also meant I updated to the current > Mac binary 1.3.1. This is pretty wonderful except for one problem. > > I normally save R figs as eps files using the Mac OS and then read > them into Latex documents. This no longer works as the legends > overwrite the diagrams. Saving as ps from R also does not work - the > bounding box is then a problem.I've seen similar things happen on a colleague's Mac using MacOS 9.1. On my G4 (running MacOS 9.2), everything runs fine. Two things you might try: - Upgrade the "Carbon Library". Ist essential for R on the Mac. You get the current version by upgrading to MacOS 9.2, or you can download it separately from the Apple support web site. - Generate your plots _directly_ as Postscript or PDF files, as Peter Dalgaard suggested. I usually plot my stuff first on screen, then open a file graphics device by postscript() (or pdf()) and re-run the plotting commands. The resulting postscript files follow the EPS standard and are fine for including anywhere, though they include no preview. If you generate PDFs, you can preview them handily in the Acrobat viewer, then export as EPS from there (with preview). All hail to Adobe for PDF files :-)> P.S. Stefano Iacus has done a cracking job - we Mac drivers owe him a > huge debt.Couldn't agree more! Kaspar -- Kaspar Pflugshaupt Geobotanisches Institut Zuerichbergstr. 38 CH-8044 Zuerich Tel. ++41 1 632 43 19 Fax ++41 1 632 12 15 mailto:pflugshaupt at geobot.umnw.ethz.ch privat:pflugshaupt at mails.ch http://www.geobot.umnw.ethz.ch -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._