Reputation: 195
There was a similar post on this, but it did not have the answer I was looking for. Here
I am trying to replicate Hao's example where he does:
```{r cars}
library(kableExtra)
library(knitr)
dt <- mtcars[1:5, 1:6]
kable(dt, format = "latex")
```
However the output is blank. When I switch to HTML, it is ok. I tried creating a PDF, but that didn't work either.
Help is much appreciated. Thanks, Aksel
Upvotes: 1
Views: 466
Reputation: 195
The solution was to install latex(MaxTeX) on my mac. Thank you @jafSF.
Upvotes: 1