[ESS] Auto-completion with Company
basille.web at ase-research.org
Mon Jan 16 04:04:20 CET 2017
After some time using auto-complete in Emacs, I'm now trying to modernize
my configuration and switch to Company. I understand that Company is fully
integrated to ESS now, and works out of the box, however, I get a weird
error message when I try to "use" it.
Here are the steps that I followed:
* Install Emacs 25.1, ESS 16.10 and Company (elpa-company) 0.8.12 from
Debian repository (I am running Testing/Stretch).
* Prepare a minimal .emacs.d/init.el with only this:
(add-hook 'after-init-hook 'global-company-mode)
* Open any file with Emacs: auto-completion works as expected, for instance
if I type the same word twice, auto-completion kicks in for the second type.
* Open a .R script in Emacs, open R (M-x R), and try auto-completion on a
function (for instance, typing "hi" to get hist/history/... Auto-completion
does not work, and I get a message in the echo area instead:
Company: An error occurred in auto-begin
Company: Back-end (company-R-args company-R-objects :separate) error
"Symbol’s function definition is void: :separate" with args (ignore-case)
I couldn't find much help in the doc, or other on-line resources.
Any help would be greatly appreciated! Thanks in advance,
basille at ufl.edu | http://ase-research.org/basille
+1 954-577-6314 | University of Florida FLREC
« Le tout est de tout dire, et je manque de mots
Et je manque de temps, et je manque d'audace. »
— Paul Éluard
This message is signed to guarantee its authenticity.
For a true private correspondence, use my public key
to encrypt your messages:
Learn more: http://mzl.la/1BsOGiZ
More information about the ESS-help