我正在尝试将Rpres演示文稿(a new feature of Rstudio)保存为HTML5文档,它将用作演示讲义(按照建议的here )
问题是,即使对于RStudio提供的基本演示示例,pdf中的输出看起来也很混乱。
如何重新创建问题-从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}摘要(汽车)
Slide With Plot
========================================================
```{r, echo=FALSE}plot(汽车)
在RStudio中,单击Google Chrome中的Preview -> View in Browser,right-click -> Print...将显示the following messy pdf
发布于 2013-11-24 01:35:56
目前,RStudio还没有为Rpresentations提供打印CSS。PDF,他们正在寻找添加功能,以保存为As per RStudio support reply here直接到RStudio。同时,Pandoc是最好的选择。
编辑2014年5月12日:
同时,在RStudio中实现了演示文稿的PDF制作。你可以得到漂亮的PDF的横向格式与控制之间的幻灯片导航。Download preview version 0.98.836 or higher from here。然后单击:
File -> New File -> R Markdown -> Presentation -> Default Output Format = PDF (Beamer)

发布于 2014-04-24 23:26:06
您可以使用RStudio打开相应的.md文件,当然,您必须在生成.md文件之前预览您的.Rpres。然后单击预览按钮以查看.md文件并在浏览器中将其打开。最后,它可以作为讲义打印出来。
https://stackoverflow.com/questions/19694487
复制相似问题