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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
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


SIGNIFICANT USER-VISIBLE CHANGES

     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, shiun1980_at_inotera.com 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,                  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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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 https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive