Matti Pastell
Matti Pastell

Reputation: 9283

Emacs autocomplete-mode extension for ESS and R

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!

Upvotes: 16

Views: 5162

Answers (2)

VitoshKa
VitoshKa

Reputation: 8533

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

Upvotes: 12

myuhe
myuhe

Reputation: 41

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)

Upvotes: 4

Related Questions