If I am not mistaken, the font size argument in stargazer is ignored in rmarkdown documents:
Does somebody know how to fix this? See also here How to resize tables generated by Stargazer in R Markdown?
---
title: "Untitled"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library("stargazer")
m <- lm(speed~dist, cars)
```
```{r, results='asis'}
stargazer(m, type = "html", font.size="tiny", single.row = T)
stargazer(m, type = "html", font.size="Huge", single.row = T)
```
```{r, results='asis'}
print(stargazer(m, type = "html", single.row = T), scalebox='0.7')
```