[Rd] RE: [R] SAS or R software

Kjetil Brinchmann Halvorsen kjetil at acelerate.com
Tue Dec 21 21:55:30 CET 2004


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 at 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



More information about the R-devel mailing list