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

Warnes, Gregory R gregory.r.warnes at pfizer.com
Mon Dec 20 22:31:21 CET 2004


What version of GCC?

We user GCC 3.4.0.

-G

> -----Original Message-----
> From: Marc Schwartz [mailto:MSchwartz at MedAnalytics.com]
> Sent: Monday, December 20, 2004 4:30 PM
> To: Warnes, Gregory R
> Cc: Paul Murrell; Jain, Nitin; R-Devel; Frank E Harrell Jr
> Subject: RE: [Rd] RE: [R] SAS or R software
> 
> 
> 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")
> [1] 0.1083942
> 
> Not sure where the difference is.
> 
> Marc
> 
> 
> 


LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}



More information about the R-devel mailing list