From kjetil at acelerate.com  Tue Dec 21 21:55:30 2004
From: kjetil at acelerate.com (Kjetil Brinchmann Halvorsen)
Date: Tue Dec 21 22:21:11 2004
Subject: [Rd] RE: [R] SAS or R software
In-Reply-To: <1103578176.10887.75.camel@horizons.localdomain>
References: <915D2D65A9986440A277AC5C98AA466F3F668F@groamrexm02.amer.pfizer.com>
	<1103578176.10887.75.camel@horizons.localdomain>
Message-ID: <41C88DC2.4090504@acelerate.com>

Marc Schwartz wrote:

>On Mon, 2004-12-20 at 16:13 -0500, Warnes, Gregory R wrote:
>  
>
>>Yes, par(family="mono") would work, except that I get R segfaults from this
>>sequence:
>>
>>    
>>
>>>plot.new()
>>>par(family="mono")
>>>par(cex=8)
>>>strheight("foo")
>>>      
>>>
>>Process R segmentation fault (core dumped) at Mon Dec 20 16:07:56 2004
>>
>>on R 2.0.1 (2004-11-15), Red Hat Enterprise Linux AS release 3 
>>
>>In my code I call strheight and strwidth several times in order to find a
>>cex that makes the text best fit the display area.  Once the segfaulting is
>>fixed, I'll update my code to use par(family="mono").
>>
>>-G
>>    
>>
>
><snip>
>
>Greg, it works here under FC3:
>
>  
>
>>plot.new()
>>par(family="mono")
>>par(cex=8)
>>strheight("foo")
>>    
>>
Just tested that on windows (rw2001), no problems.

Kjetil


>[1] 0.1083942
>
>Not sure where the difference is.
>
>Marc
>
>______________________________________________
>R-devel@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>  
>


-- 

Kjetil Halvorsen.

Peace is the most effective weapon of mass construction.
               --  Mahdi Elmandjra


[Rd] RE: [R] SAS or R software
Kjetil Brinchmann Halvorsen