mattfidler / r-autoyas.el

Automatically create YaSnippets in R
24 stars 2 forks source link

.emacs.d/elpa/r-autoyas-20140101.1510/r-autoyas.elc failed to define function r-autoyas #10

Open atanasj opened 4 years ago

atanasj commented 4 years ago

I'm getting the error:

.emacs.d/elpa/r-autoyas-20140101.1510/r-autoyas.elc failed to define function r-autoyas

What am I doing wrong?

ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G3020
GNU Emacs 28.0.50
R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
ess-version: 20200419.1920
yassnippet-version: 20200413.2221
r-autoyas: 20140101.1510

Please let me know if you need any more info.

mattfidler commented 4 years ago

Hi @atanasj

I'm unsure if r-autoyas works any longer. Both ESS and R have moved since then and I haven't used it for years. I'm not even sure I could help you.

Perhaps you can source the r-autoyas script to see if it still works. You are trying to use the elc or compiled files. I know that in emacs they can sometimes perform differently.

atanasj commented 4 years ago

HI @mattfidler. Sorry, quite new to Emacs, but what does

Perhaps you can source the r-autoyas script to see if it still works

mean?

mattfidler commented 4 years ago

You can evaluate lisp in a buffer. Open the file:

https://raw.githubusercontent.com/mattfidler/r-autoyas.el/master/r-autoyas.

in emacs and then type M-x eval-buffer

See if it works.