Your message dated Fri, 2 Nov 2018 23:40:40 -0500 with message-id <[email protected]> and subject line Re: Bug#907893: elpa-ess: R-initialize-on-start looks for .load.R in the wrong place has caused the Debian Bug report #907893, regarding elpa-ess: R-initialize-on-start looks for .load.R in the wrong place to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 907893: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907893 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: elpa-ess Version: 17.11-5 Severity: normal When you start an R process from inside ESS, it's supposed to load a file ".load.R" that, among other things, sets it up so C-c C-v works. R-initialize-on-start is looking for this file in the wrong place. I get these error messages in *Messages*: Type C-h m for help on ESS version 17.11 Cannot read history file /home/zack/.Rhistory ess-tracebug mode enabled load ESSR: + + + Error in file(filename, "r", encoding = encoding) : cannot open the connection In addition: Warning message: In file(filename, "r", encoding = encoding) : cannot open file ’/usr/share/ess/etc/ESSR/R/.load.R’: No such file or directory The directory /usr/share/ess does not exist. The package has actually installed .load.R in /usr/share/emacs/site-lisp/elpa-src/ess-17.11/etc/ESSR/R/.load.R If I manually do source("/usr/share/emacs/site-lisp/elpa-src/ess-17.11/etc/ESSR/R/.load.R") load.ESSR("/usr/share/emacs/site-lisp/elpa-src/ess-17.11/etc/ESSR/R") then C-c C-v starts working again. The bad path is coming from the 'ess-etc-directory' variable. C-h v says: ess-etc-directory is a variable defined in ‘ess-site.el’. Its value is "/usr/share/ess/etc/" However, the string 'ess-etc-directory' does not appear anywhere in ess-site.el. It appears actually to be defined in ess-utils.el, but if I try to re-execute the code in ess-utils.el that sets its value, that doesn't work either: ERROR:ess-site.el:ess-etc-directory Relative to ess-lisp-directory, one of the following must exist: ../etc/ess, ../etc, ../../etc/ess or ./etc C-h v ess-lisp-directory says: ess-lisp-directory is a variable defined in ‘ess-site.el’. Its value is "/usr/share/emacs/site-lisp/ess" That directory does exist, but it's not part of the package and I don't know how to debug this any further. In case it helps: $ ls -l /usr/share/emacs/site-lisp/ess total 1224 -rw-r--r-- 1 root root 1670 Aug 18 11:30 ess-arc-d.elc -rw-r--r-- 1 root root 6913 Aug 18 11:30 ess-bugs-d.elc -rw-r--r-- 1 root root 7732 Aug 18 11:30 ess-bugs-l.elc -rw-r--r-- 1 root root 1275 Aug 18 11:30 ess-compat.elc -rw-r--r-- 1 root root 1022 Aug 18 11:30 ess-comp.elc -rw-r--r-- 1 root root 92727 Aug 18 11:30 ess-custom.elc -rw-r--r-- 1 root root 5008 Aug 18 11:30 ess-dde.elc -rw-r--r-- 1 root root 1483 Aug 18 11:30 ess-debug.elc -rw-r--r-- 1 root root 6471 Aug 18 11:30 essd-els.elc -rw-r--r-- 1 root root 2658 Aug 18 11:30 ess.elc -rw-r--r-- 1 root root 551 Aug 18 11:30 ess-eldoc.elc -rw-r--r-- 1 root root 4222 Aug 18 11:30 ess-font-lock.elc -rw-r--r-- 1 root root 3457 Aug 18 11:30 ess-generics.elc -rw-r--r-- 1 root root 17029 Aug 18 11:30 ess-gretl.elc -rw-r--r-- 1 root root 30779 Aug 18 11:30 ess-help.elc -rw-r--r-- 1 root root 95795 Aug 18 11:30 ess-inf.elc -rw-r--r-- 1 root root 3242 Aug 18 11:30 ess-install.elc -rw-r--r-- 1 root root 6140 Aug 18 11:30 ess-jags-d.elc -rw-r--r-- 1 root root 15544 Aug 18 11:30 ess-julia.elc -rw-r--r-- 1 root root 1282 Aug 18 11:30 ess-lsp-l.elc -rw-r--r-- 1 root root 28374 Aug 18 11:30 ess-mode.elc -rw-r--r-- 1 root root 6168 Aug 18 11:30 ess-mouse.elc -rw-r--r-- 1 root root 2436 Aug 18 11:30 ess-noweb.elc -rw-r--r-- 1 root root 7374 Aug 18 11:30 ess-noweb-font-lock-mode.elc -rw-r--r-- 1 root root 46287 Aug 18 11:30 ess-noweb-mode.elc -rw-r--r-- 1 root root 2527 Aug 18 11:30 ess-omg-d.elc -rw-r--r-- 1 root root 2880 Aug 18 11:30 ess-omg-l.elc -rw-r--r-- 1 root root 526 Aug 18 11:30 ess-pkg.elc -rw-r--r-- 1 root root 2792 Aug 18 11:30 ess-r-a.elc -rw-r--r-- 1 root root 2901 Aug 18 11:30 ess-r-args.elc -rw-r--r-- 1 root root 15170 Aug 18 11:30 ess-r-completion.elc -rw-r--r-- 1 root root 14133 Aug 18 11:30 ess-rd.elc -rw-r--r-- 1 root root 10279 Aug 18 11:30 ess-rdired.elc -rw-r--r-- 1 root root 6136 Aug 18 11:30 ess-r-gui.elc -rw-r--r-- 1 root root 63776 Aug 18 11:30 ess-r-mode.elc -rw-r--r-- 1 root root 30334 Aug 18 11:30 ess-roxy.elc -rw-r--r-- 1 root root 16162 Aug 18 11:30 ess-r-package.elc -rw-r--r-- 1 root root 40232 Aug 18 11:30 ess-r-syntax.elc -rw-r--r-- 1 root root 11715 Aug 18 11:30 ess-rutils.elc -rw-r--r-- 1 root root 1785 Aug 18 11:30 ess-s3-d.elc -rw-r--r-- 1 root root 1914 Aug 18 11:30 ess-s4-d.elc -rw-r--r-- 1 root root 38396 Aug 18 11:30 ess-sas-a.elc -rw-r--r-- 1 root root 6830 Aug 18 11:30 ess-sas-d.elc -rw-r--r-- 1 root root 41313 Aug 18 11:30 ess-sas-l.elc -rw-r--r-- 1 root root 1283 Aug 18 11:30 ess-send2.elc -rw-r--r-- 1 root root 1121 Aug 18 11:30 ess-send.elc -rw-r--r-- 1 root root 3821 Aug 18 11:30 ess-site.elc -rw-r--r-- 1 root root 19292 Aug 18 11:30 ess-s-lang.elc -rw-r--r-- 1 root root 2001 Aug 18 11:30 ess-sp3-d.elc -rw-r--r-- 1 root root 11131 Aug 18 11:30 ess-sp4-d.elc -rw-r--r-- 1 root root 2024 Aug 18 11:30 ess-sp5-d.elc -rw-r--r-- 1 root root 7989 Aug 18 11:30 ess-sp6-d.elc -rw-r--r-- 1 root root 17563 Aug 18 11:30 ess-sp6w-d.elc -rw-r--r-- 1 root root 22380 Aug 18 11:30 ess-stata-lang.elc -rw-r--r-- 1 root root 4736 Aug 18 11:30 ess-stata-mode.elc -rw-r--r-- 1 root root 10785 Aug 18 11:30 ess-swv.elc -rw-r--r-- 1 root root 4368 Aug 18 11:30 ess-toolbar.elc -rw-r--r-- 1 root root 86358 Aug 18 11:30 ess-tracebug.elc -rw-r--r-- 1 root root 8708 Aug 18 11:30 ess-trns.elc -rw-r--r-- 1 root root 40543 Aug 18 11:30 ess-utils.elc -rw-r--r-- 1 root root 1612 Aug 18 11:30 ess-vst-d.elc -rw-r--r-- 1 root root 2173 Aug 18 11:30 ess-xls-d.elc -rw-r--r-- 1 root root 469 Aug 18 11:30 Install.log.gz -rw-r--r-- 1 root root 142835 Aug 18 11:30 julia-mode.elc -rw-r--r-- 1 root root 3253 Aug 18 11:30 make-regexp.elc -rw-r--r-- 1 root root 9262 Aug 18 11:30 mouseme.elc -rw-r--r-- 1 root root 4210 Aug 18 11:30 msdos.elc -rw-r--r-- 1 root root 64 Aug 18 11:30 path.el -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (501, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (101, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.17.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages elpa-ess depends on: ii dpkg 1.19.0.5+b1 ii emacsen-common 3.0.2 ii install-info 6.5.0.dfsg.1-4 Versions of packages elpa-ess recommends: ii r-base-core 3.5.1-1+b1 Versions of packages elpa-ess suggests: pn jags <none> pn julia <none> pn pspp <none> pn xlispstat <none> -- no debconf information
--- End Message ---
--- Begin Message ---On 3 November 2018 at 00:56, Marcelo Laia wrote: | On 02/11/18 at 10:32, Dirk Eddelbuettel wrote: | > | > (You forgot to CC the Debian bug address. Added it back in.) | | I hit r. Forgot to hit R. Sorry. | | I did a rm -rf on /usr/share/emacs/site-lisp/ess | | and purged elpa-ess | | Reinstall it does the trick. | | M-x ess-version return: | | ess-version: 18.10-1 [Released git: 1c4253cb4700] (loaded from /usr/share/emacs/site-lisp/elpa/) | You can run the command ‘ess-version’ with M-x ess-v RET | ess-version: 18.10-1 [Released git: 1c4253cb4700] (loaded from /usr/share/emacs/site-lisp/elpa/) | | and M-x R loads R in the buffer as well! | | Thank you very much! Awesome! Ok to close the bug report and view it as a "local issue" ? I have not had other issues reported against 18.10-1-2 which seems to work. Best, Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]
--- End Message ---

