ドキュメンタリーの目的で、html出力のプロット用のコードが必要ですが、プロットは必要ありません。後で、プロット コードを呼び出してプロットに何かを追加する必要がありますが、追加のコードしか表示されません。私はこれを試しました:
```{r non.finished.plotting, eval=FALSE}
plot(1,type="n")
```
Some explanatory text here in the output:
"This produces an empty plot, and we could now add some points to it manually."
```{r add.layer, fig.width=5, fig.height=5}
<<non.finished.plotting, echo=FALSE>>
points(x=rnorm(100,1,0.1), y=rnorm(100,0.8,0.1) )
```
Yihui'sで echo-notation を見つけましたが、これを編むと、出力にエラー メッセージが表示されます。
## Error: plot.new has not been called yet
また、チャンク オプションをいじってみましたが、必要な組み合わせが見つかりませんでした。(申し訳ありませんが、これは非常に基本的なものですが、この例のようなものは見つかりませんでした。 )