Here's a simple markdown file:
这里有一个简单的markdown文件:
---
title: "blah"
output: html_document
---
```{r}
library(tidyverse)
ggplot(tibble(x=1:2)) +
aes(x=x, y=x) +
geom_col() +
labs(y = "← low high →")
```
Notice the arrows. They show up when running the code via the console to RStudio's plot tab. But for an HTML knit, they don't work:
注意箭头。它们在通过控制台运行RStudio的plot选项卡时显示。但是对于HTML针织,它们不起作用: