我正在尝试将 Rpres HTML5 演示文稿(Rstudio的一项新功能)保存为 PDF 文档,该文档将用作演示文稿讲义(如此处所建议)
问题是输出在 pdf 中看起来很乱,即使对于 RStudio 提供的基本演示示例也是如此。
如何重新创建问题 - 从 RStudio 中将其复制到新的 .Rpres 文件,或者只是打开新的File -> New File -> R Presentation
:
test
========================================================
author:
date:
First Slide
========================================================
For more details on authoring R presentations click the
**Help** button on the toolbar.
- Bullet 1
- Bullet 2
- Bullet 3
Slide With Code
========================================================
```{r}
summary(cars)
```
Slide With Plot
========================================================
```{r, echo=FALSE}
plot(cars)
```
在RStudio中,点击Preview -> View in Browser
Within Google Chrome,right-click -> Print...
会产生如下乱七八糟的pdf