Emacs autocomplete-mode extension for ESS and R

2020-02-26 06:32发布

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!

2条回答
做自己的国王
2楼-- · 2020-02-26 06:58

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.

enter image description here

查看更多
放荡不羁爱自由
3楼-- · 2020-02-26 07:23

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)
查看更多
登录 后发表回答