![](/img/trans.png)
[英]How can I target specific slides with custom CSS in ioslide presentation?
[英]How do I Render R-Presentation (ioslide) Like this on RStudio?
告訴我如何像這樣渲染R-Presentation
。 我在閱讀以了解如何制作R-Presentation
時看到了許多示例,但是每次我像在RStudio
上的正常R code
一樣運行它們時,它們都拒絕渲染,盡管如果我ctr + v
它只顯示封面頁。 像這樣我的MWE
,我知道這不是一張幻燈片演示,但我得到的只是
---
title: "Habits"
author: John Doe
date: March 22, 2005
output: ioslides_presentation
---
# In the morning
## Getting up
- Turn off alarm
- Get out of bed
## Breakfast
- Eat eggs
- Drink coffee
# In the evening
## Dinner
- Eat spaghetti
- Drink wine
---
```{r, cars, fig.cap="A scatterplot.", echo=FALSE}
plot(cars)
```
## Going to sleep
- Get in bed
- Count sheep
請告訴我在RStudio
或bottom
以click
RStudio
本身呈現R-Presentation
的keyboard shortcut
。
這需要.Rpres
文件類型 NOT.Rmd(Rmarkdown)。
在 Rstudio 中打開一個新的文本文件
另存為file.Rpres
使用適當的語法因此 RStudio 知道如何呈現您的演示文稿
In the morning ===================== Exercise Breakfast ===================== - Cereal
當您使用代碼保存文件時,Rstudio 將在通常的knit
按鈕所在的位置有一個preview
按鈕。 當您單擊preview
時 Rstudio 將正確呈現文件。
我用這個鏈接進行研究
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.