更改flexdashboard中使用的Shiny :: renderText()内部的行

时间:2018-12-10 21:07:20

标签: r shiny flexdashboard

我在下面有基本的flexdashboard。我想要的是在“ hello”之后更改行,以便将“ world”放置在renderText()内部。我发现我可以使用htmlOutput()verbatimTextOutput(),但是flexdashboard中没有使用它们。

---
title: "[School Name] Enrollment Projections for Fall 2019"
output: 
  flexdashboard::flex_dashboard:
    orientation: rows
    runtime: shiny
---
```{r setup, include = FALSE}
library(flexdashboard)
library(shiny)

```
Column {.sidebar }
-------------------------------------
### Menu
```{r}
renderText({
      paste("hello", "world", sep="\n")
    })
```

Row {data-height=400}
-------------------------------------
### Enrollments
```{r}
```

0 个答案:

没有答案