-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emacs 29.1 compatibility issues with Emacs ESS #1271
Comments
Are you running this via WSL2? I'm getting an error after recently upgrading my Ubuntu instance to v.23.10. My setup is: my .emacs only has the following in it: and I get the following error: |
No I don't use WSL2. As I indicated in my original post I use Windows 11. But it is rather reassuring that others have encountered compatibility issues and I'm not the only one dealing with this. Personally I installed only once WSL2 and it took me less than five minutes to remove it. I stick for now to virtual machines with VirtualBox although even that has sometimes its own stability problems. |
Can you try with the most recent ESS release? 24.01.0? |
The version you're talking about is available on MELPA ? |
Yes, and even ELPA (which is the standard package repos). So, everybody with an emacs version that is not older than say 5 years, should be able to do |
... well, we have been told (and I have experienced once, ~ 0.5 years ago) that Emacs on the Mac does not support |
Emacs 29.1 for macOS from https://emacs-modified.gitlab.io/ has TLS support but it is a little flaky. |
.. well so the web access and installation then does work; very strange that |
So here is how I proceeded:
This didn't change anything and all the problems described in my original post persist. Also here is what
|
I had similar version upgrade issues (Mac OSX but to the same Emacs & ESS versions) - see below. Do (ess-send-string ...) and (ess-command ...) work in your set-up? This is my issue, and these are the functions which most justify using ESS over the Posit offer, because you can work with the command-history in Elisp. |
Well, now that Emacs 29.4 is out, can you try that? |
Hello everyone,
My environment:
I have been using
Emacs ESS
since several years for R programming. The last time I installed ESS was in march 2023 using Emacs version 28. I installed it viaM-x package-install [RET] ess [RET]
which downloaded fromMelpa
a package namedess-20230302.2111
.However this week I installed Emacs 29.1 and so far, I have encountered serious issues with ESS which is simply not working at all.
Here is what I have in my
~/.emacs.d/init.el
for ESS configuration:Using the above-mentioned configuration, when I run
M-x R [RET]
to open a new R session, I get the following error message:Error (ess): Rterm could not be found on the system. Try running 'run-ess-r-newest' instead, which searches your system for R.
Now, this is strange given that I haven't changed anything since last year on my R installation, and I never got this message using previous versions of ESS with Emacs 28. I have already the absolute path to R executable in my PATH environment variable. After adding also the x64 directory to my path, which is the directory in the bin directory of R including
Rterm.exe
, finally I managed to start a new R session using Emacs 29. However, it seems that starting R in this way, my Emacs init file is either not read at all or not completely:First of all, each time I start R, it asks me to define a project directory which is very annoying and normally based on my Emacs init file, the statement
(setq ess-ask-for-ess-directory nil)
should normally stop that.(setq display-buffer-alist . . .)
is not executed and I don't get frame organization as in RStudio (R session on the bottom and code buffer above it)As indicated in the above-mentioned init file, the statement
(global-set-key (kbd "C-;") (lambda () (interactive) (insert " <- ")))
allows me to useC-;
as a shortcut for assignment operator. After starting R session, this keyboard shortcut is not recognized despite the fact that it is in my init file. So each time I have to open once again my init file and run this statement manually viaC-c C-e
to be able to use my key mapping for<-
in my programs. The same goes for disabling flymake and using flycheck instead as indicated in the above-mentioned init file. Besides, when I start coding, I have the following warning message in*Flymake log*
buffer:Warning [flymake Test.R]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
I would like to know whether there is a compatibility issue between ESS and Emacs 29 or its just me who doesn't know how to configure it properly with this new version of Emacs.
Thanks in advance.
The text was updated successfully, but these errors were encountered: