title: Add table (aligned text blocks) to plot in R
body: <p>I'd like to add a small table (for example as a legend) to a plot in <strong>R</strong>. I think of something like:</p>
  
  <pre><code>t &lt;- wantedTableMethod(
    row("param1", "param2", "param3", "param4")
    , row(value11, value12, value13, cell(value14, adj=0))
    , row(value21, value22, value23, value24)
    , row(value31, value32, value33, cell(value34, adj=1))
    border = F
  )
  plot(1,1)
  legend("topleft", t)
  </code></pre>
  
  <p>All values of a column should have the same offset. Is something like this possible in <strong>R</strong>, or do I need to align each value manually?</p>