nev*_*int 5 r r-markdown shiny flexdashboard
我有以下RMarkdown FlexDashboard文档:
---
title: "Some title"
runtime: shiny
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
---
```{r setup, include=FALSE}
library(flexdashboard)
```
Column {data-width=650}
-----------------------------------------------------------------------
### Some chart
```{r}
plot(faithful)
```
Column {data-width=650}
-----------------------------------------------------------------------
### Chart 2
```{r}
```
### Chart 3
```{r}
```
Run Code Online (Sandbox Code Playgroud)
如何使用以下内容放置跨页面的页脚?
tags$div( HTML("<footer><small>© Copyright 2017, MyCompany Co.,Ltd</small></footer>"))
Run Code Online (Sandbox Code Playgroud)
您可以将页脚的HTML放在一个footer.html文件中,并body使用after_body降价功能将其包含在flexdashboard的后面:
---
title: "Some title"
runtime: shiny
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
includes:
after_body: footer.html
---
Run Code Online (Sandbox Code Playgroud)