[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help debugging R source code block output problem with :session
From: |
Berry, Charles |
Subject: |
Re: Help debugging R source code block output problem with :session |
Date: |
Tue, 8 Sep 2020 16:45:54 +0000 |
Jack,
Maybe I am confused here:
> On Sep 8, 2020, at 7:51 AM, Jack Kamm <jackkamm@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
- Re: Help debugging R source code block output problem with :session, Jack Kamm, 2020/09/07
- Re: Help debugging R source code block output problem with :session, Jack Kamm, 2020/09/07
- Re: Help debugging R source code block output problem with :session, Berry, Charles, 2020/09/07
- Re: Help debugging R source code block output problem with :session, Jack Kamm, 2020/09/07
- Re: Help debugging R source code block output problem with :session, Berry, Charles, 2020/09/07
- Re: Help debugging R source code block output problem with :session, Jack Kamm, 2020/09/07
- Re: Help debugging R source code block output problem with :session, Berry, Charles, 2020/09/07
- Re: Help debugging R source code block output problem with :session, Jack Kamm, 2020/09/08
- Re: Help debugging R source code block output problem with :session,
Berry, Charles <=
- Re: Help debugging R source code block output problem with :session, Jack Kamm, 2020/09/08
- Re: Help debugging R source code block output problem with :session, Dylan Schwilk, 2020/09/18