[R] R 1.3.1 on OS9.1?

Kaspar Pflugshaupt pflugshaupt at geobot.umnw.ethz.ch
Fri Oct 12 11:00:51 CEST 2001

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 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

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

More information about the R-help mailing list