Re: [O] minor bug in babel with silent output and remote R session

2013-04-15 Thread Andreas Leha
Hi all, Thomas Alexander Gerds t...@biostat.ku.dk writes: Hi Bastien I think that I can describe the problem a bit better now. It is not related to the silent option but occurs whenever :results value. Emacs freezes due to the following line in

Re: [O] minor bug in babel with silent output and remote R session

2013-04-15 Thread Thomas Alexander Gerds
hmm. I agree that this should be handled by ESS and I have not given up yet. as indicated in my previous mail, I dont know how to test if an R-session is remote because the command ess-remote deletes all local variables. a hack would be to let the R-process evaluate

Re: [O] minor bug in babel with silent output and remote R session

2013-04-14 Thread Thomas Alexander Gerds
yes, I am using ESS. ess-remote allows me to evaluate R-code from the local emacs-session on a remote machine connected to via ssh. there are two problems: 1) the remote machine cannot write to org-babel-temp-file because the tmp-directory exists on the local machine. here we could add

Re: [O] minor bug in babel with silent output and remote R session

2013-04-14 Thread Eric Schulte
It is a shame that this can't be handled gracefully either through ESS or R code. I agree it would be nice to raise a warning rather than hang waiting for a file which won't ever exist. So, how can we tell from the Babel source if the R session is remote? Thanks, Thomas Alexander Gerds

Re: [O] minor bug in babel with silent output and remote R session

2013-04-12 Thread Eric Schulte
Bastien b...@gnu.org writes: Hi Thomas, thanks for the follow-up. Thomas Alexander Gerds t...@biostat.ku.dk writes: I think that I can describe the problem a bit better now. It is not related to the silent option but occurs whenever :results value. Emacs freezes due to the following

Re: [O] minor bug in babel with silent output and remote R session

2013-04-10 Thread Bastien
Hi Thomas, thanks for the follow-up. Thomas Alexander Gerds t...@biostat.ku.dk writes: I think that I can describe the problem a bit better now. It is not related to the silent option but occurs whenever :results value. Emacs freezes due to the following line in

Re: [O] minor bug in babel with silent output and remote R session

2013-04-09 Thread Thomas Alexander Gerds
Hi Bastien I think that I can describe the problem a bit better now. It is not related to the silent option but occurs whenever :results value. Emacs freezes due to the following line in org-babel-comint-eval-invisibly-and-wait-for-file (while (not (file-exists-p file)) (sit-for (or period

Re: [O] minor bug in babel with silent output and remote R session

2013-04-07 Thread Bastien
Hi Thomas, Thomas Alexander Gerds t...@biostat.ku.dk writes: Using the silent option together with a remote R session block (started via ssh.el and ess-remote), like this: #+BEGIN_SRC R :results silent :exports results :session *ssh gauss* :cache yes a=1 1 #+END_SRC produces:

Re: [O] minor bug in babel with silent output and remote R session

2013-04-07 Thread Achim Gratz
Bastien writes: #+BEGIN_SRC R :results silent :exports results :session *ssh gauss* :cache yes […] with `:results output' instead of `:results: silent' everything works fine. Please let us know if the documentation* needs some clarification here, or if this is a bug -- maybe someone

[O] minor bug in babel with silent output and remote R session

2013-03-13 Thread Thomas Alexander Gerds
Using the silent option together with a remote R session block (started via ssh.el and ess-remote), like this: #+BEGIN_SRC R :results silent :exports results :session *ssh gauss* :cache yes a=1 1 #+END_SRC produces: , |[1] 1 | Warning message: | In file.rename(tfile,

Re: [O] minor bug in babel with silent output and remote R session

2013-03-13 Thread Eric Schulte
Thomas Alexander Gerds t...@biostat.ku.dk writes: Using the silent option together with a remote R session block (started via ssh.el and ess-remote), like this: #+BEGIN_SRC R :results silent :exports results :session *ssh gauss* :cache yes a=1 1 #+END_SRC produces: , |[1]

Re: [O] minor bug in babel with silent output and remote R session

2013-03-13 Thread Thomas Alexander Gerds
yes, I am quite sure. here is the org code , | | #+BEGIN_SRC R :results silent :exports results :session *ssh gauss* :cache yes | a=1 | 1 | #+END_SRC | | #+BEGIN_SRC R :results output :exports results :session *ssh gauss* :cache yes | a=1 | 1 | #+END_SRC | | #+RESULTS[2013-03-13