Emacs autocomplete-mode extension for ESS and R

杀马特。学长 韩版系。学妹 提交于 2019-12-18 13:02:48

问题


Is there an R-extension to Emacs autocomplete-mode that can be used with ESS?

If the extension doesn't exist I'd also appreciate any hints for writing one!


回答1:


There is an ac-source for R here. I recall struggling with it and finally wrote my own which at that time was much faster, but buggy since I didn't manage to make prefix regexp work properly.

EDIT: the newest ESS (only svn currently) has out-of-the-box integration with auto-complete. I have added the instructions to the wiki.




回答2:


auto-complete-acr is auto-complete sources.

it is more useful than ac-R.

add to .emacs below.

(require ‘auto-complete)
(require ‘auto-complete-acr)


来源:https://stackoverflow.com/questions/4682459/emacs-autocomplete-mode-extension-for-ess-and-r

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