【发布时间】:2020-07-22 19:36:49
【问题描述】:
我有这个 Rmarkdown 文件,但由于它很重(它是一个在线指南),因此在打开 html 输出时滚动条(以及除第一页之外的整个文件)需要很长时间才能显示出来。我试图将 rmd 文件分成不同的 rms 子文件,如下所示,但我仍然无法得到结果。谢谢
---
title: "my_file"
author: "me"
date: "26/02/2020"
output:
html_document:
toc: yes
toc_depth: 3
toc_float:
collapsed: yes
smooth_scroll: yes
word_document: default
---
```{r child = 'child0.Rmd'}
```
```{r child = 'child1.Rmd'}
```
```{r child = 'child2.Rmd'}
```
```{r child = 'child3.Rmd'}
```
```{r child = 'child4.Rmd'}
```
【问题讨论】:
标签: html output r-markdown scrollbar