[ESS] running R remotely via tramp

Chris Wallace cew54 @end|ng |rom c@m@@c@uk
Sat May 4 19:48:34 CEST 2019



On 04/05/2019 15:17, Alex Branham wrote:
> 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?
> 
> (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))

Then I get "Wrong number of arguments: (1 . 1), 2"

My emacs-version is 26.1 - should I try installing a newer version?


> 
> Thanks,
> Alex
> 

-- 
http://chr1swallace.github.io



More information about the ESS-help mailing list