Re: [Rd] Different results between v2.6.1 and 2.7.1 (PR#12579)

From: Prof Brian Ripley <>
Date: Fri, 22 Aug 2008 09:49:56 +0100 (BST)

You haven't told us the graphics device or OS used, nor it seems have you taken account of

                 CHANGES IN R VERSION 2.7.0


     o   Considerable efforts have been made to make the default output
         from graphics devices as similar as possible (and in
         particular close to that from postscript/pdf).  Many devices
         were misinterpreting 'pointsize' in some way, for example as
         being in device units (pixels) rather than in points.

On Fri, 22 Aug 2008, wrote:

> Hello~
> When I use R2.6.1, the following work correctly.

Define 'correctly'! For example, as I recall the X11 device in 2.6.1 was not working as documented except on 75dpi and 100dpi screens.

> par(mar=3Dc(4.2,3.1,0.5,0.5), oma=3Dc(2,2,2,2))
> boxplot(count ~ spray, col =3D "lightgray")

That line does not work correctly for me under either. I think data=InsetSprays is missing.

> box("inner", lty=3D"dotted", col=3D"red")
> box("outer", lty=3D"solid", col=3D"green")
> But when I use R2.7.1, the outer region seems too large.

Well, you set it, so you seem to have set it incorrectly. It is two lines wide on all the devices I tried in 2.7.1.

> I don=A1=A6t know what happened.

Nor do we, but RTFM failure seems implicated.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Fri 22 Aug 2008 - 08:52:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Aug 2008 - 15:07:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive