I am writing some text in data.frame for a PDF device using textplot () in gplots (also tried using the version in PerformanceAnalytics). My par () options are standard, except that I change the font / fields (CM is the family that I defined in my site profile).
par( family = "CM" , omi = rep( .5 , 4 ) )
I am trying to get the “Plot” column so that it can be justified. Here is my unsuccessful attempt ... to notice an overlap in the text
textplot( tableOfContents , show.rownames = FALSE , show.colnames = TRUE , hadj = 0 )

Right justified works great:
textplot( tableOfContents , show.rownames = FALSE , show.colnames = TRUE , hadj = 1 )

EDIT If someone else struggles with alignment in texplot, I suggest taking a look at this modified version that I wrote: https://gist.github.com/1487363
EDIT2
You might want to remove my fix cex = 1. After some more reading, I realize that cex in the functional parameters is supposed to be applied to par (cex), which I think is confusing and excessive, but seems to be standard R practice
source share