title: R: t.test output for LaTex
body: <p>I wonder if there is any function to redirect the output of <code>t.test</code> to <code>LaTeX</code>. Some thing like this</p>
  
  <pre><code>library(xtable)
  xtable(t.test(extra ~ group, data = sleep))
  </code></pre>