【发布时间】:2019-04-11 13:53:40
【问题描述】:
R 代码块 #1 正确地绘制了“汽车”和“压力”。我希望 代码块 #2 表现相似并绘制两次“压力”。它没有。为什么?
---
title: "Untitled"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
Text
```{r code chunk 1, echo=FALSE, fig.width=6, fig.asp=0.618, out.width="50%", fig.align="default"}
plot(cars)
plot(pressure)
```
Text
```{r code chunk 2, echo=FALSE, fig.width=6, fig.asp=0.618, out.width="50%", fig.align="default"}
plot(pressure)
plot(pressure)
```
【问题讨论】:
标签: r r-markdown knitr