Kable function inside flexdashboard

hi all,

i am running the below code. But i am not able to see output in the form of kable table. Not sure what wrong i am doing

---
title: "Untitled"
runtime: shiny
output: 
  flexdashboard::flex_dashboard:
    orientation: columns
    vertical_layout: fill
---

```{r setup, include=FALSE}
library(flexdashboard)
library(knitr)
library(kableExtra)

```

Column {data-width=650}
-----------------------------------------------------------------------

### Chart A

```{r}
dt <- mtcars[1:5, 1:6]
kable(dt) %>%
  kable_styling(c("striped", "bordered"))
```

Strange, it works fine for me.

Hi.

Thanks. Not sure why it was not working. I re installed R. Now it’s is working

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.