It is difficult to imagine something slower than grid.table
, almost any alternative would be much faster. You could use textplot or addtable2plot in base graphics, or the various options to produce tables in pdf documents processed by Sweave/knitr etc.
The main reason grid.table
is slow is because each cell contains an individual textGrob
; it would be much faster, but less versatile and more cumbersome to implement, to have a single textGrob
for all labels (see example 2 of this document). A basic implementation is shown here.