[Rd] Different results between v2.6.1 and 2.7.1 (PR#12579)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Aug 22 10:49:56 CEST 2008
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
More information about the R-devel
mailing list