[ESS] Failing to load r-autoyas
fernandomayer at gmail.com
Sat Mar 24 05:18:45 CET 2012
even with that line it didn't work. I tried it again with all the four
alternatives mentioned earlier, and still nothing.
I've also put this line
to make sure r-autoyas.el was being explicitly loaded. Now in the
*Messages* buffer it appears as loaded, yet with no result.
Let me know if there is something else I could test here.
Universidade Federal de Santa Catarina - UFSC
Departamento de Ecologia e Zoologia - ECZ/CCB
e-mail: fernandomayer [@] gmail.com
On Fri, Mar 23, 2012 at 9:19 PM, Matthew Fidler
<matthew.fidler at gmail.com> wrote:
> I forgot to update the github readme, but I believe you need to add:
> (add hook 'ess-mode-hook 'r-autoyas-ess-activate)
> as to your .emacs file. I was told by some package maintainers that it is
> bad form to automaticailly load features.
> Please tell me if that works. I have opened an issue at the github repo
> On Fri, Mar 23, 2012 at 6:28 PM, Fernando Mayer <fernandomayer at gmail.com>
>> I was trying to use r-autoyas , but was not very succesfull. I've
>> downloaded r-autoyas.el from here  and put it in my ~/emacs.d/ . In
>> my .emacs I have
>> (add-to-list 'load-path "~/.emacs.d/")
>> (require 'ess-site)
>> (require 'r-autoyas)
>> but when I open emacs/ess and R and try something like
>> nothing happens, not even a warning or error message from buffer. In
>> the *Messages* buffer I also don't see any call to r-autoyas.
>> Some other things I've tried (not cumulatively):
>> 1) Put r-autoyas.el in /etc/emacs/site-start.d/ (since I'm sure this
>> is in the load-path)
>> 2) Put this in .emacs:
>> (yas/load-directory "/usr/share/emacs/site-lisp/yasnippet/snippets")
>> 3) I've yanked all the content of r-autoyas.el into my .emacs
>> 4) M-x load-file <r-autoyas.el>
>> In neither of them it worked.
>> This may be something basic I'm missing since I'm not a Lisp expert,
>> but I can't figure out what is going wrong here.
>> I'm using Ubuntu 11.10 with:
>> R 2.14.2 (compiled from source)
>> ESS 5.14-1oneiric0 (installed via apt from a CRAN mirror)
>> Emacs 23.3.1 (via apt from Ubuntu repositories)
>> yasnippet 0.6.1c-1 (via apt from Ubuntu)
>> r-autoyas.el 0.18 (via )
>>  http://www.emacswiki.org/emacs/ESSr-autoyas
>>  http://www.svenhartenstein.de/uploads/r-autoyas.el
>> Thanks in advance for any suggestion,
>> Fernando Mayer
>> Universidade Federal de Santa Catarina - UFSC
>> Departamento de Ecologia e Zoologia - ECZ/CCB
>> URL: http://sites.google.com/site/fernandomayer
>> e-mail: fernandomayer [@] gmail.com
>> ESS-help at r-project.org mailing list
More information about the ESS-help