[R] Aligning text in the call to the text function

Tighiouart, Hocine htighiouart at tuftsmedicalcenter.org
Thu Apr 1 21:39:00 CEST 2010


Hi,

I have text (see below) that is aligned nicely when printed in the
command window in R but when plotted using text function, it does not
show alignment unless I use the family="mono" in the call to the text
function. Is there a way to specify a different font while maintaining
the alignment?

 Eric & Alan 1667   3   459
 Alan 2001          45  34
 John & David 1996  2   5235

Thanks for any hints

Hocine



More information about the R-help mailing list