emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
623 stars 162 forks source link

Links in the Help Page don’t work (cannot jump to another function) #1299

Open dwla opened 3 months ago

dwla commented 3 months ago

In any R file, C-h v and type a function which might have a link, e.g. in See also, there’s some link can jump to other functions. But my Emacs suddenly cannot work with this feature. I fail of finding the solution after googling for an extremely longtime.

I find the following in the ESS Manual

ESS[R]: Help lookup has been improved. It is now possible to get help for namespaced 
objects such as pkg::foobar. Furthermore, ESS recognizes more reliably when you change 
options('html_type').

The .Rprofile file of mine is quite clean, as follows

options(pillar.subtle = FALSE)
options(rlang_backtrace_on_error = "none")

I changed it according to the Manual [add options(useFancyQuotes = TRUE); options(help_type = "html")] but the problem still exists. I re-install the ESS in GNU ELPA as well as the ESS in MELPA, problem still exists.

My config of ESS is as follows:

(use-package ess
  :defer t
  :init
  (require 'ess-site)
  ;; https://github.com/emacs-ess/ESS/issues/1199
  (setq-local ansi-color-for-comint-mode 'filter)
  :hook
  (ess-r-mode . company-box-mode)
  (ess-r-mode . (lambda () (flymake-mode -1)))
  :custom
  (ess-ask-for-ess-directory nil)
  (ess-style 'RRR)
  (inferior-ess-r-program "/Library/Frameworks/R.framework/Resources/R")
  :bind
  ;; https://ess.r-project.org/Manual/news.html
  (:map ess-r-mode-map ("_" . ess-insert-assign))
  (:map inferior-ess-r-mode-map ("_" . ess-insert-assign))
  :config
  (require 'ess-r-xref))

MacOS Ventura 13.2.1; Emacs version: 29.3; ess-version: 24.01.1 I hope someone is kind to help me.😵‍💫