I tried to include the summary of an lm object in an Rmd file, using code like the following but it didn\'t work. Could you help me do that?
```
The $$ syntax only applies to math expressions, and you were trying to put a table in it, which will not work. The apsrtable, as far as I understand, is for LaTeX only, but LaTeX and Markdown are very different -- there is little hope you can redo LaTeX entirely with Markdown. I think people invented the $$ syntax for Markdown due to the fact that it is well supported by MathJax, and also note there are many variants/flavors based on the original Markdown.
At the moment you may consider:
xtable or ascii or R2HTML package to generate HTML tablesapsrtable to support HTML tables