9

RStudio 似乎处理输出幻灯片的显示不一致/很差。如何控制输出,以便保存的幻灯片版本与我在 RStudio 中看到的内容相匹配?

本测试文档:

test
========================================================
author: 
date: 
autosize: true

Exponentials
========================================================

> "...King Shihram asked Sissa ben Dahir what reward he wanted... Sissa said that he would take this reward: the king should put one grain of wheat on the first square of a chessboard, two grains of wheat on the second square, four grains on the third square, eight grains on the fourth square, and so on...

> [The King] ordered his slaves to bring out the chessboard and they started putting on the wheat. Everything went well for a while, but the king was surprised to see that by the time they got halfway through the chessboard the 32nd square required more than four billion grains of wheat, or about 100,000 kilos of wheat... 

> [T]o finish the chessboard you would need as much wheat as six times the weight of all the living things on Earth." - Story of [Ibn Khallikan](https://en.wikipedia.org/wiki/Ibn_Khallikan), _ca_. 1260 AD, [via](http://quatr.us/islam/literature/chesswheat.htm)

<!-- BREAKING UP QUOTE BLOCK -->

> "Humans don't understand exponential growth. If you fold a paper 50 times it goes to the moon and back." - Mark Zuckerberg [via](http://www.kazabyte.com/2011/12/we-dont-understand-exponential-functions.html)

在 RStudio 中显示如下:

上面给出的代码的 RStudio 显示屏幕截图。 三个面板可见。 左半部分是源代码。 右半部分是两个面板; 下面的面板对于这个情节是多余的。 上面板显示选项卡

但是当我将它作为一个独立的 HTML 页面打开时,它会过大并且引用框更窄:

这里再次展示了幻灯片,但看起来略有不同。 文字较大,最后一行文字不可见。

我希望我的 Rpres 可用,而不必在本地计算机上使用 RStudio。如何将我使用的输出与最终产品的中间输出协同工作?也就是说,在 RStudio 中工作时,如何更确定幻灯片在导出时的外观?我可以使用哪些控件来操作幻灯片的输出?

4

0 回答 0