Is there an easy way to run bash scripts on R Markdown, using Windows 10?

扶醉桌前 提交于 2019-12-10 14:47:35

问题


I've been learning R Markdown for the past months. It was fairly easy to get Anaconda Python to run within a R Markdown script, but I haven't yet found a way to get to run chunks of bash code within the same document.

Using

```{bash}
echo hello world
```

I get the error message

/bin/bash: C:\Users\MyName\AppData\Local\Temp\Rtmp0MpNfS\chunk-code-4cbc213a3545.txt: No such file or directory

Might any of you guys know what might be the root of this problem?

来源:https://stackoverflow.com/questions/50117689/is-there-an-easy-way-to-run-bash-scripts-on-r-markdown-using-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!