【发布时间】:2013-11-10 17:58:12
【问题描述】:
我正在尝试将 Rpres HTML5 演示文稿 (a new feature of Rstudio) 保存为 PDF 文档,它将用作演示文稿讲义(建议 here )
问题在于 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
在 Google Chrome 中,right-click -> Print... 将生成 the following messy pdf
【问题讨论】:
标签: html r google-chrome pdf rstudio