このような何かが、それは動作しません:engine = "bash"を使ってknitrチャンク間で変数を共有することはできますか?
```{r examples, engine="bash"}
export EXAMPLES="example/path"
```
```{r example1, engine="bash"}
echo $EXAMPLES
```
これは、しかし、作品:
```{r examples2, engine="bash"}
export EXAMPLES="example/path"
echo $EXAMPLES
```
バグレポートを提出したいと思っている:https://github.com/yihui/knitr/issues – Dason
これはランナーパッケージで今すぐ可能です:https://github.com/yihui/runr私はそれをknitr(例http://rpubs.com/yihui/bash-knitr) –