Skip to content
Prev 4766 / 15075 Next

R 2.7 mac Quartz problems

Dan,

can you, please, send us some examples (screenshots and possibly some  
reproducible code)? More comments inline ..
On May 21, 2008, at 6:10 PM, Dan Rabosky wrote:
First, I want to clarify whether you read the R for Mac FAQ 12.8 which  
describes how you can get results consistent with the old Quartz  
behavior:

12.8 Why are Quartz plots much bigger than they used to be?
R versions before 2.7.0 had a Quartz window that was smaller both in  
size and scale. This was caused by two ?bugs?: all devices in R have a  
default size of 7 inches. Quartz used a default of 5 inches and that  
was now changed to match all other devices. In addition, Quartz was  
incorrectly assuming a resolution of 72dpi for all screens. This means  
that a plot was drawn at ca. 3/4 of its intended size (given that most  
modern monitors use 100 dpi or more). The new Quartz device correctly  
detects the resolution of a screen by default and thus the plots will  
appear larger than they used to be. The resolution can be set using  
the dpi parameter of Quartz, i.e. to obtain the old behavior use  
quartz(width=5,height=5,dpi=72) When creating a new Quartz device. If  
you want to make this your default, use quartz.options(width=5,  
height=5, dpi=72). You can also set those options in the Quartz  
Preferences of the R.app GUI.

Let us know whether that addresses your issues or you have something  
else in mind.
Yes, this seems to be a Tiger-specific issue. It works fine on  
Leopard. I'll see what we can do about it.

Thanks,
Simon