pssguy
pssguy

Reputation: 3505

How can I create a tabset in this flexdashboard layout

Pretty sure i'm missing something obvious here but..

enter image description here

How would I reconfigure the code so that chart 3 is a tabset?

TIA

Upvotes: 14

Views: 12617

Answers (4)

elcortegano
elcortegano

Reputation: 2684

In order to provide an answer (an unsatisfactory one, tough), it is to point out that this is a known issue, and currently does not have a solution in flexdashboard.

Source in Github: https://github.com/rstudio/flexdashboard/issues/37

Upvotes: 2

Rochd Maliki
Rochd Maliki

Reputation: 11

You can try

# Your tabset title
================================
(tabset content)

Upvotes: 0

Alan
Alan

Reputation: 169

I'm running version 1.0.143 of R-Studio, version 1.8 of rmarkdown, and 0.5.1 version of flexdashboard. Tabs work nicely with flexdashboard. The docs also say you can do this.

---
title: "Focal Chart (Top)"
output: 
  flexdashboard::flex_dashboard:
    orientation: rows
---

# Page Title

## Row {data-height=650}

### Chart One

```{r}
```

## Row {data-height=350}

### Chart 2

```{r}
```

### Chart 3 {.tabset }

#### Chart 3 Tab 1

```{r}
```

#### Chart 3 Tab 2

```{r}
```

Upvotes: -1

Bruna Wundervald
Bruna Wundervald

Reputation: 108

As I dont have your code, you can try something like:

Column {.tabset}
-----------------------------------------------------------------------
### chart 3

It might work. More specifications about this you can find in the flexdashboard webpage (the same one from the print screen).

Upvotes: 1

Related Questions