我在下面有基本的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}
```