Jack, Maybe I am confused here:
> On Sep 8, 2020, at 7:51 AM, Jack Kamm <jackk...@gmail.com> wrote: > > Yes, if we did that then tmp-file would have a prefix like > "/scp:user@hostname:", and elisp would then know to read the result file > from the remote host. > > Before pasting tmp-file into R code, we should also call > > (org-babel-process-file-name tmp-file 'noquote) > > to remove the tramp prefix when referring to the file from R. this is already present in `org-babel-R-evaluate-session' in the call to `org-babel-comint-eval-invisibly-and-wait-for-file'' just a couple of lines further down in the `(cl-case result-type (value ...))' branch. The other use of `tmp-file' in that block is the one that requires the prefix, right? So nothing more to fix. ?? Chuck