From ripley at stats.ox.ac.uk  Mon Sep  7 10:40:27 2009
From: ripley at stats.ox.ac.uk (ripley at stats.ox.ac.uk)
Date: Mon,  7 Sep 2009 10:40:27 +0200 (CEST)
Subject: [Rd] OS X PDF bug (PR#13943)
Message-ID: <20090907084027.8B9CB282EEFA@mail.pubhealth.ku.dk>

On Mon, 7 Sep 2009, paul.m.mcguire.jr at att.net wrote:

No graphics device is specified here: which was it?

My guess is quartz() and that this is nothing to do with R but with 
copying in Mac OS X from a quartz() window.

> par(mfrow=c(2,2))
> y<-1:20
> plot(y,  pch="+")
> plot(y,  pch="+")
> plot(y,  pch="+")
> plot(y,  pch="+")
>
> produces a pdf that is viewable in Preview (copied from the
> clipboard) but fails to print.
>
> pch default or ="." or =3 prints.
>
> Unfortunately pch=3 doesn't fix the mfrow=c(5,6) graph that I'm
> actually trying to print,
> so the bug lies somewhere deeper.

Why not use pdf()?  That works for me (but then I don't have your 
printer drivers).

> OS X 10.4.11
> R 2.9.2 GUI 1.29 Tiger build 32-bit (5464)
> Laserjet 5MP
>
> Paul McGuire

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] OS X PDF bug (PR#13943)
ripley at stats.ox.ac.uk