Подсветка кода не работает в презентации rstudio ioslides? - PullRequest
0 голосов
/ 05 октября 2018

Я не понимаю, как включить подсветку кода в презентации ioslides для построения из файла Rmd:

---
title: "test"
author: "Florian Oswald"
date: "05/10/2018"
output: 
  ioslides_presentation:
    highlight: textmate
---

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

## R Markdown

This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.

When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.

## Slide with Bullets

- Bullet 1
- Bullet 2
- Bullet 3

## Slide with R Output

```{r cars, echo = TRUE}
summary(cars)
lm(formula = speed ~ dist, data =cars)
```

## Slide with Plot

```{r pressure}
plot(pressure)
```

приводит к

enter image description here

...