[ESS] running R remotely via tramp

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Sat May 4 16:17:15 CEST 2019


On Sat 04 May 2019 at 05:16, Chris Wallace <cew54 using cam.ac.uk> wrote:

> I misread an offline suggestion by Stephen Eglen, and created a copy
> of run-ess-r in my .emacs with these lines commented:
>
>  ;; (unless (executable-find inferior-ess-r-program)
>   ;;   (display-warning 'ess (format "%s could not be found on the
> system. Try running `R-newest' instead, which searches your system for
> R." inferior-ess-r-program) :error)
>   ;;   (user-error "%s program not found" inferior-ess-r-program))
>
> For me, this fixes it :)

Instead of uncommenting those lines, passing t to executable-find's
second argument should work. Can you check if this solves your issue?

#+begin_src elisp
  (unless (executable-find inferior-ess-r-program t)
    (display-warning 'ess (format "%s could not be found on the system. Try running `R-newest' instead, which searches your system for R." inferior-ess-r-program) :error)
    (user-error "%s program not found" inferior-ess-r-program))
#+end_src

Thanks,
Alex


More information about the ESS-help mailing list