1

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

Aksel Etingu
  • 195
  • 2
  • 15

1 Answers1

1

The solution was to install latex(MaxTeX) on my mac. Thank you @jafSF.

Aksel Etingu
  • 195
  • 2
  • 15