[ESS] running R remotely via tramp

Chris Wallace cew54 @end|ng |rom c@m@@c@uk
Sat May 4 09:21:14 CEST 2019


Dear Alex,

thanks for the suggestion, but this doesn't fix it.  The error remains 
the same.

Chris

On 03/05/2019 20:54, Alex Branham wrote:
> Hi Chris -
> 
> I'm on my phone now so I haven't tried this, but I think changing ess-directory to default-directory should solve this issue.
> 
> Alex
> 
> On May 3, 2019 9:46:58 AM CDT, Chris Wallace via ESS-help <ess-help using r-project.org> wrote:
>> Dear ESS-help,
>>
>> I have just upgraded my ess via melpa, and my ability to run R remotely
>>
>> has stopped.
>>
>> I had been doing so via the function (after earlier help from this list
>>
>> https://stat.ethz.ch/pipermail/ess-help/2016-January/010863.html)
>>
>>    (defun Rcpu ()
>>      "Run R on CSD3"
>>      (interactive)
>>      (let ((inferior-ess-r-program "/home/me/bin/R.csd3")
>>        (ess-directory "/ssh:me using cpu:~/"))
>>        (R)))
>>
>> R.csd3 is actually a bash script, that loads some modules required to
>> run R on the remote host before starting a recent version of R.  It
>> worked this morning, then I did an update of packages, restarted emacs,
>>
>> and it broke.
>>
>>
>> Now when I M-x Rcpu I get the error
>>
>> Error (ess): /home/me/bin/R.csd3 could not be found on the system. Try
>> running `R-newest' instead, which searches your system for R.
>>
>> M-x R-newest starts /usr/bin/R on the remote system which is woefully
>> out of date and won't let me install many current packages.
>>
>> I have looked into R-newest and I wonder whether the change is this one
>>
>> https://github.com/emacs-ess/ESS/commit/7d49e421ca015c4e43688f4479860d1af8379c8d#diff-30e55f182c26885d03642d3872bfe26d
>>
>> - does
>>
>> (executable-find inferior-ess-r-program)
>>
>> know to look on the remote server?
>>
>> Thanks for any advice,
>>
>> Chris

-- 
http://chr1swallace.github.io



More information about the ESS-help mailing list