如何使用Emacs ESS模式与R markdown? [英] How can I use Emacs ESS mode with R markdown?
问题描述
polymode ,它允许/将允许您使用R块(用于处理 knitr
)进行写入。
设置polymode + rmarkdown的说明在 README
尚未完成,但正在进行中。另请参阅本帮助邮件列表的讨论( gmane archive | 邮件列表存档)
更新:polyMode已经在MELPA上发布,通过使用emacs的现有包机制简化了安装过程。请参阅 ESS邮件列表中的公告。
Is there a way to configure Emacs so that it recognizes (and allows execution of) R code chunks within R markdown (.Rmd) files similar to the way it recognizes code chunks in .Rnw (Sweave) or .org (org-mode) files?
polymode is being developed which does/will allow you to write markdown with R chunks (for processing with knitr
).
Instructions for setting up polymode+rmarkdown are in the README
It is not yet done, but is progressing. See also this discussion on the ess-help mailing list (gmane archive|mailing list archive)
Update: polymode has been released on MELPA, simplifying the installation process by using emacs' existing package mechanism. See the announcement on the ESS mailing list here.
这篇关于如何使用Emacs ESS模式与R markdown?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!