1

我在 RStudio 工作并创建一个降价闪亮演示文稿(我相信它使用 IOslides)。

目前生成的演示文稿没有任何导航帮助,用户必须知道他们需要使用左/右箭头移动到下一张或上一张幻灯片。即使部署到服务器,我也看不到演示文稿底部的任何箭头。

我已经搜索了文档并在这里查看这是否可能,但似乎找不到任何东西。

是否有一些设置可以在每张幻灯片的底部包含上一个/下一个类型的链接?

在 R Studio 中创建演示文稿的过程:

新文件 > R Markdown > Shiny > Shiny 演示文稿

即使在创建新文件时使用示例代码也会出现问题 - 没有导航箭头

已发布示例(没有导航箭头):

https://regolith.shinyapps.io/test

以及示例代码(由 R studio 生成):

---
title: "test"
author: ""
date: "24 January 2017"
output: ioslides_presentation
runtime: shiny
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```

## Shiny Presentation

This R Markdown presentation is made interactive using Shiny. The viewers of the presentation can change the assumptions underlying what's presented and see the results immediately. 

To learn more, see [Interactive Documents](http://rmarkdown.rstudio.com/authoring_shiny.html).

## Interactive Plot

```{r eruptions}
inputPanel(
  selectInput("n_breaks", label = "Number of bins:",
              choices = c(10, 20, 35, 50), selected = 20),

  sliderInput("bw_adjust", label = "Bandwidth adjustment:",
              min = 0.2, max = 2, value = 1, step = 0.2)
)

renderPlot({
  hist(faithful$eruptions, probability = TRUE, breaks = as.numeric(input$n_breaks),
       xlab = "Duration (minutes)", main = "Geyser eruption duration")

  dens <- density(faithful$eruptions, adjust = input$bw_adjust)
  lines(dens, col = "blue")
})
```

## Bullets

- Bullet 1
- Bullet 2
- Bullet 3

## R Output

```{r cars}
summary(cars)
```
4

0 回答 0