Emacs MELPA auto-complete not working with ESS (R) 15.03

276 views Asked by At

Context

I have installed 'auto-complete-20150408.1132' using the MELPA repository from within Emacs-24.3.1 (M-x package-install); the OS is RedHat. Auto-completion with popup is working perfectly for C/C++ files etc. However, I cannot get it to work with ESS[R] 15.03-1.

~/.emacs:

;; general

(add-to-list 'load-path "~/.emacs.d/elpa/popup-20150609.2145")

(require 'popup)

(add-to-list 'load-path "~/.emacs.d/elpa/auto-complete-20150408.1132")

(require 'auto-complete)

(require 'auto-complete-config)

(add-to-list 'ac-dictionary-directories "~/.emacs.d/elpa/auto-complete-20150408.1132/dict")

(ac-config-default)

;; ESS R specific

(add-to-list 'load-path "/opt/R/ess-15.03-1/lisp/")

(load "ess-site")

(setq ess-use-auto-complete t)

Behavior

I start up emacs, then M-x R session within emacs and perform a few calcs and all is fine but no auto-complete. Then C-x C-f a blank file 'test.R' and type a couple of commands but there is absolutely no hint of any auto-complete.

I have searched and tried many combinations (also Marmalade repository) but simply cannot get it working and would really appreciate some insights as to what I have missed.

Many thanks!

0

There are 0 answers