Skip to content

Different results between v2.6.1 and 2.7.1 (PR#12579)

2 messages · shiun1980 at inotera.com, Brian Ripley

#
Hello~

When I use R2.6.1, the following work correctly.

par(mar=3Dc(4.2,3.1,0.5,0.5), oma=3Dc(2,2,2,2))

boxplot(count ~ spray, col =3D "lightgray")

box("inner", lty=3D"dotted", col=3D"red")

box("outer", lty=3D"solid", col=3D"green")

=20

But when I use R2.7.1, the outer region seems too large.

I don=A1=A6t know what happened.

=20

Thanks

=20
#
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:

            
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.
That line does not work correctly for me under either.  I think 
data=InsetSprays is missing.
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.
Nor do we, but RTFM failure seems implicated.