DS4PS / cpp-525-fall-2020

http://ds4ps.org/cpp-525-fall-2020/
1 stars 0 forks source link

Stargazer HTML issues #11

Closed TVK36692 closed 3 years ago

TVK36692 commented 3 years ago

I noticed the comment about having stargazer in the html style. Even when I knit the file, it comes out as html code when I do not set it as "text". Has anyone else experienced this?

Best, TK

lecy commented 3 years ago

You need to add the results="asis" argument to the code chunk so the HTML gets embedded in the document when knitted instead of printing it as R output:

```{r, results="asis"}
TVK36692 commented 3 years ago

Thank you!