Aksel Etingu
Aksel Etingu

Reputation: 195

R kableExtra - Having issues with latex

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

Answers (1)

Aksel Etingu
Aksel Etingu

Reputation: 195

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

Upvotes: 1

Related Questions