Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-21 Thread Kasper Daniel Hansen
I get the same behaviour on a 30" external Apple monitor using a
width/height of 25.

Kasper

On Wed, Sep 21, 2011 at 3:20 PM, Erich Neuwirth
 wrote:
> I am on the road, so I cannot test this on my 27" screen at the moment.
> The problem also happens without setting height and width for the quartz 
> window.
> The graphics is cut off at the bottom, it seems the engine doing the drawing 
> gets incorrect information about the
> window size.
> If I set height=6 explicitly, I do not see the problem.
>
>
>
> On Sep 4, 2011, at 12:37 AM, Duncan Murdoch wrote:
>
>> On 11-09-03 5:03 PM, Kasper Daniel Hansen wrote:
>>> On Sat, Sep 3, 2011 at 12:47 PM, Duncan Murdoch
>>>   wrote:
 With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the 
 following
 code generates plots missing the bottom labels:

 par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
 for (i in 1:20) plot(1)

 If I resize the plot at all, it's redrawn correctly, with all margins
 showing.  After resizing, repetitions in the old window are fine, but if I
 close it and try again, the error re-surfaces.

 I'm on Mac OSX 10.6.8.
>>>
>>> I have often seen the issue missing bottom labels on the default
>>> window on my old 13in macbook.  I have always assumed (and I could be
>>> wrong) that this had something to do with the actual dimensions of the
>>> screen.  Recently I switched to a 15in macbook pro and I have never
>>> had this problem (and I never observed it when I connected my 13in to
>>> an external display).  I have various incoherent theories about why
>>> this happens, but I will just state my observation: this only happens
>>> on the native screen of a smaller laptop.
>>
>> I'm using a Macbook Air with a 1440 x 900 screen.  If I resize the screen to 
>> 1024 x 768, it does look a little worse.
>>
>> Duncan Murdoch
>>
>> ___
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>
>
> -BEGIN PGP SIGNATURE-
>
> iEUEARECAAYFAk56ANoACgkQ+NXNFnPEeU+aCwCWPAO2IIZBM/OtYcEIKkA430Yy
> tACgtJpGnT1eSEGSW7xAFDYokkk22ps=
> =WAnc
> -END PGP SIGNATURE-
>
>

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-21 Thread Erich Neuwirth
I am on the road, so I cannot test this on my 27" screen at the moment.
The problem also happens without setting height and width for the quartz window.
The graphics is cut off at the bottom, it seems the engine doing the drawing 
gets incorrect information about the
window size.
If I set height=6 explicitly, I do not see the problem.



On Sep 4, 2011, at 12:37 AM, Duncan Murdoch wrote:

> On 11-09-03 5:03 PM, Kasper Daniel Hansen wrote:
>> On Sat, Sep 3, 2011 at 12:47 PM, Duncan Murdoch
>>   wrote:
>>> With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the following
>>> code generates plots missing the bottom labels:
>>> 
>>> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
>>> for (i in 1:20) plot(1)
>>> 
>>> If I resize the plot at all, it's redrawn correctly, with all margins
>>> showing.  After resizing, repetitions in the old window are fine, but if I
>>> close it and try again, the error re-surfaces.
>>> 
>>> I'm on Mac OSX 10.6.8.
>> 
>> I have often seen the issue missing bottom labels on the default
>> window on my old 13in macbook.  I have always assumed (and I could be
>> wrong) that this had something to do with the actual dimensions of the
>> screen.  Recently I switched to a 15in macbook pro and I have never
>> had this problem (and I never observed it when I connected my 13in to
>> an external display).  I have various incoherent theories about why
>> this happens, but I will just state my observation: this only happens
>> on the native screen of a smaller laptop.
> 
> I'm using a Macbook Air with a 1440 x 900 screen.  If I resize the screen to 
> 1024 x 768, it does look a little worse.
> 
> Duncan Murdoch
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-21 Thread Kasper Daniel Hansen
This is what I have been saying as well.

My guess is that your "a centimeter above the screen edge) is because
of the Dock.  I have my Dock set to hiding and I get the window going
all the way down to the bottom of the screen.

In an earlier post I stated that I have not seen this on my 15"
Macbook Pro, presumably because the screen is bigger (I see it on my
old 13" Macbook).  If I do
  quartz(width = 10, height = 10)
on my 15", I get the same issue: the plot window is not square
(presumably because 10" is to high) and the plot is being cut off (R
is plotting as if the window was 10x10 but since the window is only
Yx10 we only see Y (with Y somewhat less than 10).).  For this
situation, I don't see the x-axis at all.

Kasper

On Tue, Sep 20, 2011 at 10:50 PM, Erich Neuwirth
 wrote:
> OK,
> here is what really happens!
> When the quartz window is higher that the screen,
> the displayed windows does not extend below the screen, but it ends about a 
> centimeter above the screen edge.
> The graphics is drawn as if the unmutilated larger windows were available.
> So the problem was I used
> quartz(height=7) and that is too high.
>
> quartz(height=6)
> solves the problem.
>
>
>
> -BEGIN PGP SIGNATURE-
>
> iEYEARECAAYFAk55GKgACgkQ+NXNFnPEeU9U7ACfZyn7OH+tjySGUBLV7EU4aAHR
> P3AAnjCnox72LJ6z9K+oNiJPLP/yhA2N
> =G4JH
> -END PGP SIGNATURE-
>
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-20 Thread Erich Neuwirth
OK, 
here is what really happens!
When the quartz window is higher that the screen,
the displayed windows does not extend below the screen, but it ends about a 
centimeter above the screen edge.
The graphics is drawn as if the unmutilated larger windows were available.
So the problem was I used
quartz(height=7) and that is too high.

quartz(height=6) 
solves the problem.




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-20 Thread Erich Neuwirth
quartz device bug:
bottom of graphics gets cut off.
When I do a 4x3 panel graph with 0 margin around the single graphs,
about half of the graphs in the last row get cut off,
not just the labels as Duncan mentioned.
The graphics is OK after resizing it with the mouse.

Here are my specifics:

R version 2.13.2 beta (2011-09-19 r57030)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
 [1] tcltk grid  splines   stats graphics  grDevices utils 
datasets  methods   base 

other attached packages:
 [1] ENmisc_1.2-0 RColorBrewer_1.0-5   gWidgetstcltk_0.0-45 
digest_0.5.0 tcltk2_1.1-5
 [6] gWidgets_0.0-46  vcd_1.2-12   colorspace_1.1-0 MASS_7.3-14 
 Hmisc_3.8-3 
[11] survival_2.36-9 

loaded via a namespace (and not attached):
[1] cluster_1.14.0  lattice_0.19-33 tools_2.13.2   


MacBook Air second generation, OSX 10.7.1 Lion

Model Name: MacBook Air
  Model Identifier: MacBookAir3,2
  Processor Name:   Intel Core 2 Duo
  Processor Speed:  2.13 GHz
  Number of Processors: 1
  Total Number of Cores:2
  L2 Cache: 6 MB
  Memory:   4 GB
  Bus Speed:1.07 GHz
  Boot ROM Version: MBA31.0061.B01
  SMC Version (system): 1.66f54
  Serial Number (system):   C02DQ0BYDDR4
  Hardware UUID:9560C38B-9445-53E1-890C-49D94C34DB75



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-04 Thread Michael Lachmann
I have a white macbook, and see the problem, on a simple plot(1:10), without an 
external screen.
When I have a second screen attached, 1680x1050, and it is the main screen, the 
problem disappears, and when the LCD is the main screen (1280x800) the problem 
is there.

R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

On 10.6.7

Michael

On 4 Sep 2011, at 4:18PM, Ben Madin wrote:

> If it helps, on 15" MBP, I can't generate this problem whether at 1024 x 768 
> or higher 1680 x 1050
> 
>> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
>> for (i in 1:20) plot(1)
>> sessionInfo()
> R version 2.13.1 Patched (2011-07-25 r56499)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
> 
> locale:
> [1] en_AU.UTF-8/en_AU.UTF-8/C/C/en_AU.UTF-8/en_AU.UTF-8
> 
> attached base packages:
> [1] stats graphics  grDevices utils datasets  methods   base 
> Sun Sep  4 22:14:05 warrambat.local R[3618] : kCGErrorIllegalArgument: 
> CGSShapeWindow
> Sun Sep  4 22:14:05 warrambat.local R[3618] : kCGErrorFailure: Set a 
> breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
> 
> 
> I've attached the error messages to show what happens when I resize the 
> screen, even with no quartz device open. 
> 
> Were you in the GUI or in the terminal?
> 
> cheers
> 
> Ben
> 
> 
> On 04/09/2011, at 12:47 AM, Duncan Murdoch wrote:
> 
>> With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the following 
>> code generates plots missing the bottom labels:
>> 
>> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
>> for (i in 1:20) plot(1)
>> 
>> If I resize the plot at all, it's redrawn correctly, with all margins 
>> showing.  After resizing, repetitions in the old window are fine, but if I 
>> close it and try again, the error re-surfaces.
>> 
>> I'm on Mac OSX 10.6.8.
>> 
>> Duncan Murdoch
>> 
>> ___
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-04 Thread Ben Madin
If it helps, on 15" MBP, I can't generate this problem whether at 1024 x 768 or 
higher 1680 x 1050

> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
> for (i in 1:20) plot(1)
> sessionInfo()
R version 2.13.1 Patched (2011-07-25 r56499)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_AU.UTF-8/en_AU.UTF-8/C/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base 
Sun Sep  4 22:14:05 warrambat.local R[3618] : kCGErrorIllegalArgument: 
CGSShapeWindow
Sun Sep  4 22:14:05 warrambat.local R[3618] : kCGErrorFailure: Set a 
breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.


I've attached the error messages to show what happens when I resize the screen, 
even with no quartz device open. 

Were you in the GUI or in the terminal?

cheers

Ben


On 04/09/2011, at 12:47 AM, Duncan Murdoch wrote:

> With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the following 
> code generates plots missing the bottom labels:
> 
> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
> for (i in 1:20) plot(1)
> 
> If I resize the plot at all, it's redrawn correctly, with all margins 
> showing.  After resizing, repetitions in the old window are fine, but if I 
> close it and try again, the error re-surfaces.
> 
> I'm on Mac OSX 10.6.8.
> 
> Duncan Murdoch
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-03 Thread Duncan Murdoch

On 11-09-03 5:03 PM, Kasper Daniel Hansen wrote:

On Sat, Sep 3, 2011 at 12:47 PM, Duncan Murdoch
  wrote:

With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the following
code generates plots missing the bottom labels:

par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
for (i in 1:20) plot(1)

If I resize the plot at all, it's redrawn correctly, with all margins
showing.  After resizing, repetitions in the old window are fine, but if I
close it and try again, the error re-surfaces.

I'm on Mac OSX 10.6.8.


I have often seen the issue missing bottom labels on the default
window on my old 13in macbook.  I have always assumed (and I could be
wrong) that this had something to do with the actual dimensions of the
screen.  Recently I switched to a 15in macbook pro and I have never
had this problem (and I never observed it when I connected my 13in to
an external display).  I have various incoherent theories about why
this happens, but I will just state my observation: this only happens
on the native screen of a smaller laptop.


I'm using a Macbook Air with a 1440 x 900 screen.  If I resize the 
screen to 1024 x 768, it does look a little worse.


Duncan Murdoch

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Minor bug in Quartz sizing

2011-09-03 Thread Kasper Daniel Hansen
On Sat, Sep 3, 2011 at 12:47 PM, Duncan Murdoch
 wrote:
> With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the following
> code generates plots missing the bottom labels:
>
> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
> for (i in 1:20) plot(1)
>
> If I resize the plot at all, it's redrawn correctly, with all margins
> showing.  After resizing, repetitions in the old window are fine, but if I
> close it and try again, the error re-surfaces.
>
> I'm on Mac OSX 10.6.8.

I have often seen the issue missing bottom labels on the default
window on my old 13in macbook.  I have always assumed (and I could be
wrong) that this had something to do with the actual dimensions of the
screen.  Recently I switched to a 15in macbook pro and I have never
had this problem (and I never observed it when I connected my 13in to
an external display).  I have various incoherent theories about why
this happens, but I will just state my observation: this only happens
on the native screen of a smaller laptop.

Kasper

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[R-SIG-Mac] Minor bug in Quartz sizing

2011-09-03 Thread Duncan Murdoch
With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the 
following code generates plots missing the bottom labels:


par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
for (i in 1:20) plot(1)

If I resize the plot at all, it's redrawn correctly, with all margins 
showing.  After resizing, repetitions in the old window are fine, but if 
I close it and try again, the error re-surfaces.


I'm on Mac OSX 10.6.8.

Duncan Murdoch

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac