From MSchwartz at MedAnalytics.com  Mon Dec 20 21:56:50 2004
From: MSchwartz at MedAnalytics.com (Marc Schwartz)
Date: Mon Dec 20 21:56:58 2004
Subject: [Rd] RE: [R] SAS or R software
In-Reply-To: <41C72ABA.6090006@stat.auckland.ac.nz>
References: <915D2D65A9986440A277AC5C98AA466F3F6677@groamrexm02.amer.pfizer.com>
	<41C72ABA.6090006@stat.auckland.ac.nz>
Message-ID: <1103576210.10887.65.camel@horizons.localdomain>

On Tue, 2004-12-21 at 08:40 +1300, Paul Murrell wrote:
> Hi
> 
> 
> Warnes, Gregory R wrote:
> > 
> >>-----Original Message-----
> >>From: Frank E Harrell Jr [mailto:f.harrell@vanderbilt.edu]
> > 
> > ...
> > 
> >>This is neat Greg.  Just installed the latest gregmisc.  Do you 
> >>automatically used fixed width fonts for this, for alignment 
> >>of columns? 
> > 
> > 
> > Unfortunately, I haven't found any way to select fixed-width fonts, so I
> > convert the character vector into a matrix of individual characters so that
> > they align properly.  Its pretty horrid.  
> > 
> > I hope that the R developers will provide a way of selecting a fixed width
> > font in the future so I can remove this ugly hack.
> 
> 
> Does par(family="mono") do what you want?
> 
> Paul


It works here using R 2.0.1 under FC3. I tried it to the display and
with pdf() using sinkplot().

With postscript() one can use the 'family = "Courier' argument as well.
Seems to work here.

According to ONEWS, par("family") is new for 2.0.0.  Missed that one.

Thanks Paul.

Marc


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